MetaHuman keeps crashing when I add hair (I’ve also tried Eyebrows, and that does the same thing. I have not tried other accessories.) I recieve the following error in my crash report:
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp] [Line: 602]
Shader compilation failures are Fatal.
0x00007ff8485cbb59 UnrealEditor-RHI.dll!UnknownFunction
0x00007ff8485af871 UnrealEditor-RHI.dll!UnknownFunction
0x00007ff8485af2ab UnrealEditor-RHI.dll!UnknownFunction
0x00007ff8485be849 UnrealEditor-RHI.dll!UnknownFunction
0x00007ff848590160 UnrealEditor-RHI.dll!UnknownFunction
0x00007ff8485394f8 UnrealEditor-RHI.dll!UnknownFunction
0x00007ff82fba43e7 UnrealEditor-Core.dll!UnknownFunction
0x00007ff82fba4144 UnrealEditor-Core.dll!UnknownFunction
0x00007ff82fbc959e UnrealEditor-Core.dll!UnknownFunction
0x00007ff82fb91185 UnrealEditor-Core.dll!UnknownFunction
0x00007ff82fe1ec84 UnrealEditor-Core.dll!UnknownFunction
0x00007ff830286c38 UnrealEditor-Core.dll!UnknownFunction
0x00007ff83027fa4f UnrealEditor-Core.dll!UnknownFunction
0x00007ff8c83ae8d7 KERNEL32.DLL!UnknownFunction
Crash in runnable thread Foreground Worker #1
Can someone help me fix this?
Hello there @JJMando9803!
Considering your crash report, the key here is the fatal shader compilation in PipelineStateCache.cpp. The engine is trying compile shaders, most likely tied to Groom assets, and failing to do so. This could be caused by a setup issue, or a conflict between your system. Let’s cover each option, one by one:
-
First of all, please make sure that the plugins related to Groom are enabled in your project. Go to Plugins, and search for “Groom”, then enable the main plugin, and the importer (restart UE afterwards)
-
The next usual cause for shader crashes, it’s a corrupted shader cache. To clear that up, go to your project’s main directory, then delete folders Saved, Intermediate and DerivedDataCache. There’s also an additional instance of that last folder at your local app data, please delete that one as well (should be …AppData\Local\UnrealEngine\Common\DerivedDataCache). After these changes, open your project, and allow the shaders to rebuild
-
You should also verify your UE install, to make sure no components are missing. To do so, from the Epic launcher, check the dropdown menu, and click on Verify
-
As for issues in your system, I would suggest clearing up your current GPU driver install using DDU, then installing the latest set of drivers form your provided. If you are on nVidia, then please pick the Studio Drivers, as those are the most stable for engine work
-
One more thing to check in engine, please go Edit > Project Settings > Platforms > Windows, and make sure that “Default RHI” is set to DX12. Now, if it was already set like that, it’s worth testing it set as DX11
Hope this helps, and good luck!
Thank you, @brs-sebascova! I got it to work after trying all of your suggestions without messing with anything outside of UE. It was switching to DX11 from DX12 that actually did it, but I also enabled the Groom Importer during the process, cleared the cache, and verified my install, so it may be a combination of these solutions. I’m not a computer scientist, though, so I’m not sure why that worked.
1 Like