Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.2.0f1

2021.2.19f1

2021.3.6f1

Issue ID

UUM-9841

Regression

Yes

Crash on CopyImportedObjectMetaInfo when importing assets after saving script

--

-

Reproduction steps:
1. Open user attached project.
2. Open “Assets/Scripts/PlayerControler.cs”
3. Add a comment line anywhere
4. Save script file and return to Unity Editor

Expected result: Unity Editor does not crash
Actual result: Unity Editor crashes

Reproducible with: 2021.2.0f1, 2021.2.19f1, 2021.3.6f1
Not reproducible with: 2020.3.37f1, 2021.2.0b16, 2022.1.10f1, 2022.2.0b2, 2023.1.0a4

Reproducible on: Windows 10 Pro 21H2

Notes:

* If it does not crash, it can crash when exiting Unity Editor
* It can also crash when starting the project
* Crash does not reproduce every time

Workaround: Right-click Assets > Reimport All

First lines of stack trace:

{noformat}0x00007ff67be6700e (Unity) CopyImportedObjectMetaInfo
0x00007ff67be66f70 (Unity) CopyImportedAssetMetaInfo
0x00007ff67bed6467 (Unity) AssetResolver::UpdateAssetCachedInfo
0x00007ff67beb5fee (Unity) GetAssetCachedInfoV2
0x00007ff67be581b3 (Unity) AssetDatabasePropertyV2::FetchAssetMetaInfo{noformat}

  1. Resolution Note:

    There are no fixes planned for this Bug

Add comment

Log in to post comment