Search Issue Tracker
Active
Under Consideration for 2.5.X
Votes
0
Found in [Package]
2.5.X -Collections
Issue ID
ECSB-1643
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
- Terrain Samples throws warnings in the Console window after import
- UI Builder expands and collapses USS files only by adding or removing selectors
- A vertex stream with a stride of 1 is bound to the GPU in Player when mesh is compressed
- Spot light is not rendered if the Outer Spot Angle is set to below 2.56216 when the Android Build Platform is selected
- StructuredBuffer is not writable to when using DirectX Graphics APIs
Add comment