Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X

Votes

0

Found in

2019.3

2019.3.7f1

2020.1

2020.2

Issue ID

1238870

Regression

No

Crash in SceneVisibilityState::IsHierarchyHidden when importing or deleting an imported SceneVisibilityState.asset

Scene Management

-

How to reproduce:
1. Create a new Unity project
2. Open the root project directory in Finder/Explorer
3. Drag the project's Library/SceneVisibilityState.asset into the Editor's Project window
4. Once the importing is complete, delete the SceneVisibilityState.asset from the Project window

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

Reproducible with: 2019.3.13f1, 2020.1.0b9, 2020.2.0a11
Could not test with: 2017.4.40f1, 2018.4.22f1(SceneVisibilityState.asset not yet introduced in the Library)

Notes:
In earlier versions of Unity, the crash would not occur until the Editor was exited after deleting the imported SceneVisibiityState.asset

  1. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a21

  2. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.6f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.11f1

Add comment

Log in to post comment