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

MissingReferenceException and general brokenness with Play Mode Domain Reload / Scene Reload disabled #339

Closed kring closed 1 year ago

kring commented 1 year ago

Go to Edit -> Project Settings -> Editor, scroll down to the bottom, and enable "Enter Play Mode Options".

image

This will disable domain and scene reload when entering play mode.

Press the Play button. You'll see many MissingReferenceException messages in the console, and tileset will not work properly.

I'm not sure yet exactly what is going wrong here, but it probably boils down to Cesium for Unity's managed and native states getting out of sync.