Skip to content
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

Application crashes occisonally while loading new Tilesets with Unity 6 #543

Open
Mercury-Leo opened this issue Dec 26, 2024 · 0 comments
Open

Comments

@Mercury-Leo
Copy link

Our application crashes quite often when loading new Tilesets.
Looking at the logs, it is caused by Cesium.

This used to happen very rarely, but ever since we have updated to Unity 6, this happens a lot.

To Reproduce

I'll be honest, this is hard to reproduce cause I think this happens in very specific scenarios and it won't be easy to redo without our product.

Also important to note:
We are doing this with multiple users that are synced and access cesium-request-cache, sometimes at the same time.

  1. Create at least 2 Unity clients that are in the same share server and access the same cache.
  2. Move the map between new areas.
  3. Zoom in
  4. Zoom out
  5. Move to a different location
  6. Load new Tilesets
  7. Crash

Setup

  • Unity version: 6000.0.32f1
  • Cesium: 1.14.0

Additional context

Whenever the app crashes, it shows the same stack from CreateImplementation.
There are also a bunch of SQL errors which may or may not be related.

0x00007FF90579FB4C (KERNELBASE) RaiseException
0x00007FF867A1488F (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF866F681A9 (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF866F65E51 (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF866EBB997 (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF866EBB69D (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF866146799 (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF8661474FF (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x00007FF8660FE11A (CesiumForUnityNative-Runtime) DotNet_CesiumForUnity_CesiumPolygonRasterOverlay_CreateImplementation
0x000001D89C597684 (Mono JIT Code) (wrapper managed-to-native) CesiumForUnity.Cesium3DTileset:DotNet_CesiumForUnity_Cesium3DTileset_Update (intptr,CesiumForUnity.Cesium3DTileset/ImplementationHandle)
0x000001D89C597533 (Mono JIT Code) CesiumForUnity.Cesium3DTileset:Update ()
0x000001D843FED448 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF882824B7E (mono-2.0-bdwgc) mono_jit_set_domain
0x00007FF88275D204 (mono-2.0-bdwgc) mono_object_get_virtual_method
0x00007FF88275D37C (mono-2.0-bdwgc) mono_runtime_invoke
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

1 participant