Hi there!
I’m looking at using Cesium for it’s high quality 3d terrain and building data as a backdrop. Unfortunately I’m having trouble getting the terrain to load.
Within the Unity Editor, everything works fine, but as soon as I build it to android and attempt to run it on my Quest 3 headset, nothing Cesium-related appears.
Looking into it with Android Logcat, it seems that it’s failing to load the tile data for some reason that’s not known to me:
“An unexpected error occurred when loading tile: Request for https://api.cesium.com/v1/assets/2602291/endpoint?access_token=<token here>
failed: Cannot resolve destination host”
(I’ve removed my access token here to be safe, but I have verified that it matches a token on my account that has read permissions to assets & geocode)
I’ve also checked that the headset has an internet connection, and that the Unity project is set to require it.
I’ve attempted to recreate this issue using the Cesium for Unity sample project and setting it up in an identical way however in this case the terrain/tile data does load. So it suggests that it’s not a device issue, but a project issue. However at this point I’m at a loss for what could be the issue. It’s running OpenXR in the same way, accessing the same assets and using the same key, with the same graphics/rendering settings, with near-identical player/build settings as well.
So It’s just on this specific project that the assets cannot be loaded within a build.
Any help here would be greatly appreciated, thanks !
I can’t wait to find out it’s something incredibly trivial and stupid on my part