5.4 .uproject starts then crashes with these errors. I did try changing the ConsoleVariables.ini text by un-commenting the r.ShaderDevelopmentMode line in the .ini file and re-saving but it has no effect. Any suggestions?
"Fatal error: [File:E:\UnrealEngine_5-4\UnrealEngine-5.4\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 10532]
2 Shader compiler errors compiling GlobalShaders for platform PCD3D_SM5. Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.
@VideoEric,
I have the same issue and I’ve tried the same solutions you mentioned, but nothing worked. Were you able to find any other fix for the error?
I’m still trying, if I find a solution, I’ll link it here.
Thanks
I still have not found a solution to this crash issue:
5.4 .uproject starts then crashes with these errors. I did try changing the ConsoleVariables.ini text by un-commenting the r.ShaderDevelopmentMode line in the .ini file and re-saving but it has no effect. Any suggestions?
"Fatal error: [File:E:\UnrealEngine_5-4\UnrealEngine-5.4\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 10532]
2 Shader compiler errors compiling GlobalShaders for platform PCD3D_SM5. Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.
I found that enabling the independent plugin “Geometry Mask” will crash and give the same report as enabling the Motion Design plugin. When I open the “.uproject” file in Notepad++, and set the “Geometry Mask” plugin to false, the project file will open, but without those features.
I’m no programmer, but that’s all I can find for now.
This is a shader issue that got fixed past preview 1. It is available in github but will need to wait until Unreal Engine 5.4 releases to see this change.
The workaround in the meantime would be to set your project to use SM6 instead of SM5.
@xyah1,
Thanks for the reply. I tried your suggestion but the engine still crashed at the 45% mark when loading. I then tried setting the project Windows platform to “Default RHI = Vulkan” and that worked.
I got passed the 45% loading crash to 85% loading that took about 45 minutes, but the project did load with the motion design plugin loaded. Down side, the project is choppy and takes time to process. I tried restarting the project and each time it took the same 45 minutes to load, so that’s not going to work.
Thank you for your help and if you have anymore suggestion please do share.
Actually, the error you’re seeing is just a reminder from the engine that there’s an issue. You need to follow the error prompt and enable r.ShaderDevelopmentMode in the ConsoleVariables.ini file.
Specifically, you need to locate the r.ShaderDevelopmentMode=1 line in the ConsoleVariables.ini file and remove the ; at the beginning of the line. In this file, lines starting with ; are treated as comments.
After completing this step, reopen your project. The engine will then indicate the exact file and position of the shader error instead of showing you the generic warning you’re currently seeing.
You should then troubleshoot the issue based on the specific error message provided.