I am trying to test using downloaded data (imagery, elevation) in a Unity project deployed to an Android tablet. Basically I want to test using Cesium data on an Android tablet that has no wifi connectivity. I have followed the Cesium for Unity documentation including the section that relates to using data downloaded from the Ion account. Once the project is built on the tablet and I press play, none of the map data shows up.
Do you have any suggestions or further documentation?
Thank you for getting back to me. Here is a general idea of the steps taken so far.
Use GlobalMapper to download imagery and elevation data for an area.
Import that data into Cesium Ion and select the “Make available for download” option
Once data is processed by Cesium Ion, download the data
In Unity project with Cesium plugin we use the URL field option
The project is set to use the persistent data path so we don’t have permission issues on Android
From there we build and run the app. The map data does not show. Only if we connect to the internet at which point it is pulling the maps from Ion. The downloaded map data is being stored in the persistent path directory.
Do you have an example Unity project that is using downloaded “offline” map data than can run on Android?
I’m afraid that we don’t have an example of offline data being used in an app. I just want to clarify your process before I can determine if it’s a bug with Cesium for Unity:
EDIT: I didn’t read carefully that this is imagery data, so I rewrote some of these points:
You downloaded the data from ion, which gives you the data stored as local files on your computer.
You have a local URL to the files on your computer, and you put this URL into Unity
You are building and running the app on Android, and it works, but only if you are connected to the internet. In other words, it worked to begin with, but now it is being blocked by not having internet connection, despite being “offline.”
It is actually both imagery and elevation data. But yes basically those are my steps. I think it works when on wifi because it is connection to Ion where I had originally uploaded the data. But yes, we are using the URL option and storing the data in an area where Android should not have any permission issues.
I tried to reproduce the problem on my Windows machine, but I was still able to load local data just fine. So it must be either something with Android, or something with the application itself. Can you share a minimal reproducible example so that we can try and debug it?