Editor crashing at 83% but didn't crash before

I am running 4.12.2 and my project opened and ran fine before hand. But from now on whenever it opens I get a crash saying

[2016.06.15-09.43.24:787][ 0]LogWindows:Error: === Critical error: ===
Assertion failed: IsValid() [File:D:\Build++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 697]

About 4 hours ago the engine loaded and worked flawlessly and I have gotten no updates to hardware or software recently. I have reinstalled the engine and done numerous system restarts. I need this to work by Saturday as a I have a competition on.

What I find interesting it that there is nothing in my D drive yet it states there is?

I may have bad news for you …
I got this trouble and it was a blueprint which was broken, I had to do this one from scratch (backup files didn’t worked) and now it works fine …

Can you provide more information about when this crash occurs so that we can try to reproduce it on our end… For instance, you say your project opened beforehand -before what? Before you updated to UE4.12? Before you added a specific file? etc.

Also, please provide as many of the following as possible:

  1. Your dxdiag (Windows Start Button>(search “dxdiag”)>Launch dxdiag>select “Save all information”>attach text file to your post.)
  2. If the Crash Reporter window is present when the crash occurs, select “Copy Callstack to the Clipboard,” and paste that information in a document and add to this post. Be sure to hit “Submit” on the Crash Reporter pop-up to send the Crash Report to Epic.
  3. “UE4.log” Located: Engine\Saved\Logs\
  4. “ProjectName.log” Located: ProjectName\Saved\Logs\

Providing this information and appropriate logs will help us track down and isolate the source of the bug as quickly and efficiently as possible.

Thanks for your cooperation,

.

Thanks for all this, yet i fixed the issue by moving all files to a new project and re importing them. Turns out I had two files the exact same and were causing the engine to crash!

Thanks for all this, yet I fixed the issue by moving all files to a new project and re importing them. Turns out I had two files the exact same and were causing the engine to crash!

This error is 100% related to issues with shader compilation bug. This is generally related to switching engine major versions, adding new code to core shaders, or corrupted shader cache, (or other types of cached data).

Also noted that you can just remigrate the files it is much easier to go to the following directories and delete the following cached files. (Note doing this effects all projects globally and will cause all projects compiled shader cache to be delete so you will have to recompile shaders):

Directories:

  • C:\Users{USERNAME}\AppData\Local\UnrealBuildTool\
  • C:\Users{USERNAME}\AppData\Local\UnrealEngine\
  • C:\Users{USERNAME}\AppData\Local\UnrealHeaderTool\
  • C:\Users{USERNAME}\AppData\Romming\UnrealEngine\

Notes:

  • If you dont have some of these folders you dont need to have them.
  • You may not have to delete all of these directories and some one may comment on which ones for which data corruption
  • AppData folder is hidden by default you may need to show hidden files if you dont see this folder
  • C:\ is assuming that your windows is installed on your C drive You may have this on another drive Letter
  • {Username} is your login id or windows ID
  • This is a windows only fix and is not cross platform though this idea could be applied to other platforms if this issue exists.

This helped solve my problem. My Blueprint project wouldn’t even open in the editor - it kept giving me a Stack Overflow error, so I couldn’t even go and try to troubleshoot. I fixed it by deleting a cloned weapon that must’ve had files named the same or something. There was another BP that was calling the same function in each of the different weapons. So I was able to open my project by first deleting the duplicate folders/files within Windows Explorer. Once I was able to open the project I deleted the calls to those functions and then migrated those files back in and renamed things. Thanks for posting your update!