CesiumWorldTerrain With Multi RasterOverlays Rendering Error

Dear Cesium Team,

We are currently using Cesium version 2.6, and everything was running smoothly. However, after upgrading to version 2.10, we encountered some unexpected issues. The specific behavior is as follows:

  • When we added a WMS RasterOverlay to a CesiumWorldTerrain, everything worked fine.
  • However, after adding a CesiumPolygonRasterOverlay to the CesiumWorldTerrain, the texture rendering for the previously added WMS RasterOverlay became incorrect.
  • If we remove the CesiumPolygonRasterOverlay, everything goes back to normal.

We also tried adding multiple WMS RasterOverlays, and everything worked as expected. However, once we add a CesiumPolygonRasterOverlay, the issue seems to occur again.

We have tested versions 2.10, 2.9, and 2.8, and experienced similar problems, but when we revert back to version 2.6, everything works fine.
2.10 :
2024111510283500h00m14s-00h00m33s

2.6:
2024111510313900h00m00s-00h00m19s

Hi @Cloud,

Thank you for the thorough bug report! I was able to reproduce this myself in the latest version. I wrote up the Github issue below so we could track this.

It would be immensely helpful if you could confirm whether Cesium for Unreal v2.7.0 works for you. That release is a likely culprit, but it would help us to be sure. Thank you!

Hi @ janine,I really appreciate your response.I tested version 2.7, and unfortunately, it also has the same issue.

@Cloud I just opened a pull request that should fix this problem:

If you want to try out the fix, you can find instructions for installing a pre-release version here:

@Kevin_Ring
I have tested the pre-release version, and the issue has been resolved. Thank you, and thanks to the Cesium team!

1 Like

@Kevin_Ring
Hello Kevin.when I add the pre-release version into my project and open the project again,an error has occurred:
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 4825] /Plugin/CesiumForUnreal/Private/CesiumPointAttenuationVertexFactory.ush:389:11: error: no member named ‘LWCData’ in ‘FMaterialVertexParameters’ Result.LWCData = MakeMaterialLWCData(Result)

Hi @Unreal_Miracle,

Apologies, there was work being done on the base branch that I hadn’t finished testing. I just pushed a fix for this here:

I’ll update the other git branch with the bugfix and let you know when CI has produced a new pre-release build.

Thank you for your reply,I really appreciate the speed Cesium Team solved the problem. :grin:

1 Like