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
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Add comment