Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.60f1

6000.0.43f1

6000.1.0b11

6000.2.0a7

Issue ID

UUM-100671

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)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.