Search Issue Tracker
Active
Under Consideration for 6000.4.X
Votes
0
Found in
6000.4.0a1
Issue ID
UUM-124970
Regression
No
Crash on Object::SetCachedScriptingObject when performing multiple Domain Reloads in a specific project
How to reproduce:
1. Open the attached “IN-96242_MicroVerse.zip” project
2. Open the “SampleScene”
3. Open the “Domain Reloader” (Tools > Domain Reloader)
4. Set the “Number of Domain Reloads” to 5
5. Click on “Start Domain Reloading”
6. Observe the InvalidCastException in the Console window
7. Save the scene (File > Save)
8. Observe the crash
Reproducible in: 2022.3.6f1, 2022.3.60f1, 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
First few lines of stacktrace:
{noformat}0x00007FFA10359013 (Unity) Object::SetCachedScriptingObject
0x00007FFA1035999A (Unity) UnloadObject
0x00007FFA12141908 (Unity) NativeFormatImporter::UnloadObjectsAfterImport
0x00007FFA12098E1D (Unity) ImportToObjects
0x00007FFA12097098 (Unity) ImportAsset{noformat}
Notes:
- The issue is triggered by the “MicroVerse - Core Collection” plugin
- In 2022.3, the InvalidCastException does not appear. It is instead replaced by a MicroVerse TerrainData error
- The crash also happens when closing the Editor without saving (in place of step 7)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment