CesiumGS / cesium-unity

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

CesiumCreditSystem destroys itself when an additive scene is unloaded #436

Closed TobiasWehrum closed 7 months ago

TobiasWehrum commented 8 months ago

My main scene uses Cesium to show a map and occasionally loads additional Unity scenes (that have nothing to do with the Cesium content) in additive mode. When one of those unrelated additive scenes is unloaded the CesiumCreditSystem destroys itself, leaving my scene without credits.

j9liu commented 8 months ago

Thanks for the report @TobiasWehrum ! I just opened #445 to address this issue. Feel free to try it out and let us know if it resolves this, or if you still experience any problems.