Search Issue Tracker

Active

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

Votes

0

Found in

2021.3.44f1

2022.3.52f1

6000.0.27f1

6000.1.0a4

Issue ID

UUM-87119

Regression

No

ScriptableObject in EditorWindow becomes Null when switching Scene

--

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. From the menu navigate to Test > SO Test
3. Notice the "My SO" property is “(My So)” in the SoTest window
4. Reopen the “Assets/Scenes/SampleScene.unity” Scene (double-click on Scene in the Project window)
5. Observe the "My SO" property in the SoTestWindow

Expected result: The "My SO" property should display as “(My SO)”
Actual result: The "My SO" property shows “Missing (Object)”

Reproducible with: 2021.3.44f1, 2022.3.52f1, 6000.0.27f1, 6000.1.0a4

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Comments (1)

  1. SolarianZ

    Nov 20, 2024 02:24

    Supplementary Note: Editing a non-persistent ScriptableObject instance (i.e., a ScriptableObject instance created with CreateInstance but not saved to the AssetDatabase, as mentioned in the report) will cause all loaded Scenes in the Hierarchy to be marked as dirty (indicated by an asterisk symbol).

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.