Crashes on startup in ShaderCompiler::ProcessCompiledJob
We pulled the new 4.18 sources from Github and I then tried to compile our Unreal Engine project using that version of the engine sources.
Ran Setup.bat and GenerateProjectFiles.bat
I finally made the Engine compile properly and then it started compiling the game's solution.
The compilation works and at around 95% of the editor loading, the program crashes.
This is the callstack I get in Visual Studio:
Also, the Job in question that is causing problems is:
So far, from what I've found on the internet, there seems to be a problem with ShaderCompileWorker, some people have suggested rebuilding it but how would I do that please? Also, they have suggested rerunning Setup.bat (which I have done) to no avail.
About the error itself:
In line 4053 of ShaderCompiler.cpp, the engine assigns the variable ShaderJob. Unfortunately, the current job has its succeeded field to false.
This leads to the Fatal error and crash.
If I am mistaken and should also compile in Debug Editor to see more debug information, let me know.
If you have any lead on what might be wrong, I will happily hear it! :)
If you need any additional information to help me out, please let me know, I didn't want to drown people in useless information because I didn't really know where to look exactly.
Thank you for your time and help!
Follow this question
Once you sign in you will be able to subscribe for any updates here