Skip to content

Offline 3D Tileset Fails to Load Without Internet Connection #574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Heisenberk-Karabay opened this issue May 15, 2025 · 2 comments
Open

Comments

@Heisenberk-Karabay
Copy link

I’m trying to use Cesium for Unity with my own offline 3D Tiles data. When I run the app without an internet connection, I get the following error in the Unity Console:
Image
As soon as I reconnect to the internet, the tileset loads successfully. This makes offline usage impractical, since it appears to still require a connection to Cesium Ion. Is this intended behavior? If not, how can I configure Cesium for Unity to load local tilesets entirely offline?

Environment:

Unity Version: 6000.0.36f1
Cesium for Unity Version: 1.16.0

Relevant Links:

Loading local data without internet?
Offline data for Cesium Unity
Cesium Unity datasets tutorial (local directory)
CesiumJS Ion in offline environment

@Heisenberk-Karabay
Copy link
Author

I have raised a PR about the problem: #575

@j9liu j9liu added this to the June 2025 Release milestone May 19, 2025
@j9liu
Copy link
Contributor

j9liu commented May 23, 2025

Hi @Heisenberk-Karabay,

I'm trying to reproduce the behavior in this issue so I can test your PR. However, I was able to load a tileset while being offline just fine:

Image

This is a tileset.json with a single root tile, stored on disk. And it's loaded via a Cesium3DTileset I created after opening the Editor and seeing the console errors. What data are you trying to load that's giving you this issue?

(This doesn't mean your PR is invalid, I just want to figure out where exactly the error is occurring. Thanks!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants