Hi, first post here. I’ve started getting this fatal error in Windows builds (unsure if it’s specific to builds or not). I haven’t found a way to trigger the error on command, so I’m not sure where it’s coming from.
I’ve experimented with the settings of the CesiumWorldTerrain actor, and I can’t say for certain, but it seems like increasing MaximumScreenSpaceError from 8 to 16 has made this crash happen less often.
Based on the above crash output, does anyone know a root cause or have suggestions on what to try to prevent the crash?
I get similar errors sometimes in editor if my computer has run out of memory. If that’s the case with your issue, than increasing the Maximum SSE would indeed help. Are you only seeing this issue in builds? Or are you also seeing them in editor? Is it possible that it’s a memory issue, or does it seem unrelated?
Getting this error with UE 5, when trying to open most Cesium Sample project maps. Notice that the path is not identical to my UE5 installation, and using no source build.
Are you using the latest versions of the Cesium for Unreal plugin as well as the Cesium for Unreal Samples project?
If you have an old version of Cesium for Unreal Samples, then tilesets will fail to load because there is an old, expired Cesium ion key embedded in it (we cycle keys regularly to discourage abuse). Normally what would not cause a crash, but there was an old version of the Cesium for Unreal plugin in which it did. So that’s my best guess about what might be going wrong. But if that’s not it, let me know and we can dig deeper.
Just FYI, those D:\RocketSync paths come from Epic’s plugin build environment that was used to build the plugin for the Marketplace.
I use the latest, UE 5.0.2 and latest Cesium Plugin. I am only able to load the first map for some reason. The plugin has been registered with my account key.
So you just switch to the second level in the Editor, and it immediately crashes? Are there any messages in the Output Log before it crashes?
Assuming that you’re on the latest version of the plugin (v1.14.0) and that “line 370” is accurate, the crash is caused by this line:
Which would suggest that either the Tileset is invalid, or the Tileset’s world is invalid. I can’t really think of why either would be the case, though.
You’ve installed the Cesium for Unreal plugin from the Marketplace, right? And there is not a version included in your project? I think it could be worth uninstalling and reinstalling the plugin just in case something was changed or corrupted in the plugin.
It may also be worth pulling down a clean version of Cesium for Unreal Samples project, just to eliminate any problem there.
The next step to diagnose it is probably to install Unreal Engine’s debug symbols via the Epic Launcher so that we can get a more informative call stack.
Yes, you’re exactly right @unit23! I can reproduce the crash you’re seeing by using an invalid project token and then switching levels. I wrote an issue for this, and we’ll aim to get it fixed soon:
In the meantime, you should be able to work around this by either leaving the project default token unchanged, or by making sure that all of the demo resources have been added to your account from the Asset Depot and that the token you select is authorized to access them.