CesiumGS / cesium-unity

Bringing the 3D geospatial ecosystem to Unity
https://cesium.com/platform/cesium-for-unity/
Apache License 2.0
347 stars 83 forks source link

Cesium ion token set on "Token" panel is not saved #469

Closed kring closed 3 months ago

kring commented 3 months ago

This has been reported several times on the community forum recently:

And I just confirmed it myself.

If you edit the token field in the CesiumSettings/Resources/CesiumIonServers/ion.cesium.com asset directly using the project tab, Unity silently saves it when you either exit the editor or save the project.

However, if you edit the token using Cesium's "Token" panel, then the token is never saved.

This is major problem that needs to be fixed urgently, but as a workaround you can get the token to save by clicking the folder icon next to the ion server selector to navigate to the asset in the Project tab:

image

Then, with the server asset selected, in the Inspector tab, change any field and then change it back. Now when you exit the Unity Editor or save the project, the new token should be saved.