Hello. I decided to use substrate materials and now I can’t open my project. There is always an error after shaders compilation.
I think the problem could be related to forward rendering I’m using, but I’m not sure. What can I do now just to open my project?
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 5089] /Engine/Private/Strata/StrataForwardLighting.ush:279:78: error: no matching function for call to ‘HasDynamicIndirectShadowCasterRepresentation’ IndirectOcclusion = GetIndirectOcclusion(NearestResolvedDepthScreenUV, HasDynamicIndirectShadowCasterRepresentation(StrataPixelHeader)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Engine/Private/DeferredShadingCommon.ush:398:6: note: candidate function not viable: no known conversion from ‘FStrataPixelHeader’ to ‘FGBufferData’ for 1st argument bool HasDynamicIndirectShadowCasterRepresentation(FGBufferData GBufferData) ^ D3DCompileToDxil failed. Error code: Неопознанная ошибка (0x80004005). Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!
Hi @Texn0krat ,
The way to fix this to go into the root of your project in Windows Explorer end open Config\DefaultEngine.ini with right click Notepad
Control-F search for Substrate
will get you to the line
r.Substrate=True
Delete this line Save the modified file
Open your project this time this should work
This fails because you have code from an earlier version of Unreal Engine, maybe an old blue print which is looking for predecessor called Strada.
Substrate wont really work until 5.4 and is engine developers only in 5.3
To EVERYONE, you MUST save a copy of you project BEFORE you enable Substrate. NOTE:- ANY changes you make with your Substrate enable will NOT be available once Substrate is turned off. Blueprint will return to back to Strada library Overview of Substrate Materials in Unreal Engine | Unreal Engine 5.3 Documentation
To really used Substrate initially you will need an RTX40xx family and the RTX 4070 will be replace by RTX 4070 Ti in 2024
It’s first time I hear about it, so earlier version is more possible.
Somebody just can’t do that - my project is 41 Gb and I just don’t have so much space.
I haven’t herad about that. I looked for information about performance and people saying it’s just usual material until you trying to make something hard, so I’ve tried to use it with gtx 1070.