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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Add comment