CesiumForUnreal打包失败

用的是UE5.2,Cesium版本是2.5.0。突然出现如下的打包失败,正在寻求帮助:
UATHelper: 打包 (Windows): LogInit: Display: LogShaderCompilers: Warning: Failed to compile Material /CesiumForUnreal/Materials/M_CesiumBaseMaterial.M_CesiumBaseMaterial (MI:/CesiumForUnreal/Materials/Instances/MI_CesiumThreeOverlaysAndClippingAndWater.MI_CesiumThreeOverlaysAndClippingAndWater) for platform PCD3D_SM6, Default Material will be used in game.
UATHelper: 打包 (Windows): Shader is using too many Samplers: 17 (only 16 supported)
UATHelper: 打包 (Windows): LogInit: Display: LogShaderCompilers: Warning: Failed to compile Material /CesiumForUnreal/Materials/M_CesiumBaseMaterial.M_CesiumBaseMaterial (MI:/CesiumForUnreal/Materials/Instances/MI_CesiumThreeOverlaysAndClippingAndWater.MI_CesiumThreeOverlaysAndClippingAndWater) for platform PCD3D_SM5, Default Material will be used in game.
PackagingResults: Warning: Cooking a material resource (in M_CesiumBaseMaterial hierarchy) that doesn’t have a valid ShaderMap! Shadermap pointer is null.
PackagingResults: Warning: Cooking a material resource (in M_CesiumBaseMaterial hierarchy) that doesn’t have a valid ShaderMap! Shadermap pointer is null.
PackagingResults: Error: Unknown Cook Failure

Hi @wszty,

I am using UE5.2 and Cesium version 2.5.0. Suddenly the following packaging failure occurred and I am looking for help:

Are you using your own materials in your project? Or are you only using the ones that are provided through the plugin?

Either way, the log is saying that a shader is using too many samplers, which can happen if a material has many textures. Can you try the suggestion in the Github issue below and let us know if it helps?

Thank you!

感谢您的解答,但是set the Sampler Source on each Texture Sample to Shared:Wrap并没有修复此告警。场景中存在一些其他告警修复后打包成功了