Hi ,
I made copies of MI_CesiumThreeOverlaysAndClipping and ML_CesiumRasterOverlay, added Opacitiy via Material Parameter Collection in order to animate opacity for weather tiles, and it worked well. Then I upgraded OS to Windows11. Animation still works, but there is also flickering and very slow start of the level. When I open MI_CesiumThreeOverlaysAndClipping from editor, I get a lot of red errors in a log.
I get the same thing when try to open any of Cesium Materials even in blank project !!! I tried with different versions of UE (5.6 and 5.7) and several versions of Cesium, starting 2.20. It’s all the same. Here is the error log from a blank cesium project:
LogShaderCompilers: Warning: Failed to compile Material /CesiumForUnreal/Materials/Blends/MLB_CesiumAlphaBlendBaseColor.MLB_CesiumAlphaBlendBaseColor:Material_0 for platform PCD3D_SM6, Default Material will be used in game.
Shader debug info dumped to: “C:\Users\user\Documents\Unreal Projects\test\Saved\ShaderDebugInfo\PCD3D_SM6\Material_0_5fafea6009fcecc3\Default\FLocalVertexFactory\TMaterialCHSFNoLightMapPolicy\0”
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4572,45): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4572:45: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBases.Normals[0] = Local0 ;
^
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4586,60): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4586:60: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBasesFullySimplified.Normals[0] = Local0 ;
^
LogShaderCompilers: Warning: Failed to compile Material /CesiumForUnreal/Materials/Blends/MLB_DitherFade.MLB_DitherFade:Material_0 for platform PCD3D_SM6, Default Material will be used in game.
Shader debug info dumped to: “C:\Users\user\Documents\Unreal Projects\test\Saved\ShaderDebugInfo\PCD3D_SM6\Material_0_4bd466792d5fa0c0\Default\FLocalVertexFactory\TMaterialCHSFNoLightMapPolicy\0”
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4572,45): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4572:45: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBases.Normals[0] = Local0 ;
^
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4586,60): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4586:60: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBasesFullySimplified.Normals[0] = Local0 ;
^
LogShaderCompilers: Warning: Failed to compile Material /CesiumForUnreal/Materials/Layers/ML_DitherFade.ML_DitherFade:Material_0 for platform PCD3D_SM6, Default Material will be used in game.
Shader debug info dumped to: “C:\Users\user\Documents\Unreal Projects\test\Saved\ShaderDebugInfo\PCD3D_SM6\Material_0_c167aa10c9ec5fc3\Default\FLocalVertexFactory\TMaterialCHSFNoLightMapPolicy\0”
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4572,45): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4572:45: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBases.Normals[0] = Local0 ;
^
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4586,60): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4586:60: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBasesFullySimplified.Normals[0] = Local0 ;
^
LogShaderCompilers: Warning: Failed to compile Material /CesiumForUnreal/Materials/Blends/MLB_CesiumClipping.MLB_CesiumClipping:Material_0 for platform PCD3D_SM6, Default Material will be used in game.
Shader debug info dumped to: “C:\Users\user\Documents\Unreal Projects\test\Saved\ShaderDebugInfo\PCD3D_SM6\Material_0_dd957f692e5de5b0\Default\FLocalVertexFactory\TMaterialCHSFNoLightMapPolicy\0”
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4572,45): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4572:45: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBases.Normals[0] = Local0 ;
^
C:\Program Files\Epic Games\UE_5.7\Engine\Shaders\Private\MaterialTemplate.ush(4586,60): Shader TMaterialCHSFNoLightMapPolicy, Permutation 0, VF FLocalVertexFactory:
/Engine/Generated/Material.ush:4586:60: error: use of undeclared identifier ‘Local0’
Parameters.SharedLocalBasesFullySimplified.Normals[0] = Local0 ;
^
LogSlate: Window ‘MI_CesiumThreeOverlaysAndClipping’ being destroyed
I couldn’t find anyone complaining about this problem. I also can not claim that the problem is Windows 11, but that is the only change I made. Any ideas?
Thanks.