Search Issue Tracker

Fixed

Fixed in 2023.2.8f1, 2023.3.0b4

Votes

2

Found in

2023.2.3f1

2023.3.0a17

Issue ID

UUM-57909

Regression

Yes

Crash on Object::IncrementPersistentDirtyIndex when upgrading project version

--

-

Reproduction steps:
1. Open the attached “repro-project“
2. Observe the crash

Reproducible with: 2023.2.0a17, 2023.2.3f1, 2023.3.0a17
Not reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.0a16

Reproduced on: Windows 10
Not reproducible on: No other environment tested

Note: The crash occurs while updating the project from the 2021.3 stream version of Unity

First few lines of the stack trace:
0x00007FFB93903840 (Unity) Object::IncrementPersistentDirtyIndex
0x00007FFB93904C8E (Unity) Object::SetDirty
0x00007FFB955B8E8B (Unity) BatchApplyPropertiesFromSourceAssetDB
0x00007FFB955B958F (Unity) ScriptFactory::BatchRegisterAndCreateObjects
0x00007FFB955BD0D7 (Unity) ScriptFactory::ProcessChanges

  1. Resolution Note (fix version 2023.3.0b4):

    Fixed an issue where projects would sometimes crash following an editor version upgrade if their project contained js.meta files.

    If this issue is still occurring and you need a workaround, removing any blocks that begin with "monoImporter:" from the js.meta files in your project should fix the issue. These blocks are no longer used in new version of the editor and can be safely removed.

  2. Resolution Note (fix version 2023.2.8f1):

    Fixed an issue where projects would sometimes crash following an editor version upgrade if their project contained js.meta files.

    If this issue is still occurring and you need a workaround, removing any blocks that begin with "monoImporter:" from the js.meta files in your project should fix the issue. These blocks are no longer used in new version of the editor and can be safely removed.

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.