cesium-unreal
cesium-unreal copied to clipboard
Add a callback for tileset and tile errors at runtime
Hello, in my program I add tilesets in runtime. I spawn tileset actors and set Url or Id (+TilesetSource). Everything works fine until I provide an invalid id or url. I see in the error log that Cesium can't load tiles and gives me an error (tileset.cpp: 145, something about 401 error).
How do I handle that error in Unreal? I want to let users know that id or url they provided are incorrect.
@yateam there's not currently a good way to do this. Probably the best you could do is install a custom spdlog log sink to receive error messages. Cesium for Unreal uses the default spdlog logger.
We have a callback in cesium-native now, but it still needs to be exposed in cesium-unreal.