Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

ue4 unreal engine is exiting due to D3D device being los

Hi, I am on 4.13.2, and since upgrading, I keep getting this crash when working in teh editor. I have a gtx 1080, and a beefy machine. What is causing this?

'unreal engine is exiting due to D3D device being lost' Exiting...

Product Version: UE 4.13
more ▼

asked Nov 09 '16 at 09:46 PM in Bug Reports

avatar image

292 21 32 52

avatar image Sean L ♦♦ STAFF Nov 10 '16 at 09:06 PM

Hey antithing,

Could you please provide the full output log from your project's Saved->Logs folder the next time the crash occurs?

What exactly are you working on when the editor crashes?

Also, are you getting a crash reporter window? If so, please provide your machine id and ensure to hit Send & Close on the report.


avatar image antithing Nov 13 '16 at 12:17 PM

Hi Sean, thanks for getting back to me. The crash gives me:

 `UE_LOG(LogD3D11RHI, Fatal, TEXT("Unreal Engine is exiting due to D3D device being lost. (Error: 0x%X - '%s')"), hRes, Reason);`

in the file 'D3D11Util.cpp'.

The output log gives me:

 [2016.11.13-12.05.16:673][272]LogEditorViewport: Clicking on Actor (LMB): StaticMeshActor (Cube2)
 [2016.11.13-12.14.29:579][552]LogD3D11RHI:Error: Result failed 
  at C:\unreal\UnrealEngine-release\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Viewport.cpp:267 

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

After further investigation, this appears to be related to https://issues.unrealengine.com/issue/UE-37999

This is an issue that we have currently been unable to reproduce locally, so if you have a set of repro steps that you are using when you are experiencing this crash, it would be great if you'd be able to provide them.

Also, it would be helpful if you could provide your dxdiag as well.


more ▼

answered Nov 14 '16 at 02:27 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

avatar image Stephen Ellis ♦♦ STAFF Dec 15 '16 at 03:18 PM

We believe most of these crashes may be related to realtime GPU stats and timestamp queries on older Nvidia cards. We'd like to ask you to try this temporary fix while we work on a permanent solution.

If you are able to open the editor, please open the command console (`) and run: r.gpustatsenabled 0

Or you can edit the consolevariables.ini file located at Epic Games/4.14/Engine/Config by adding the line: r.gpustatsenabled=0

Please let us know your results.


avatar image antithing Dec 15 '16 at 04:07 PM

Ok cool, I will try that. I am running Unreal on 3 different machines, and i only see this error on the one with a brand new GTX 1080 card. Thanks !

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question