Search Issue Tracker

By Design

Votes

0

Found in

5.3.4f1

Issue ID

788016

Regression

No

ScriptableObject reference is gone if the class and script names does not match

Scripting

-

Reproduction steps:
1. Open the attached project
2. Open scene "ScriptableObjectFail"
3. Select "Test" GameObject in the hierarchy
4. Reset "Test Component" by right clicking on the object and selecting "Reset"
5. Play
6. Notice that Reference to ScriptableObject B is gone while ScriptableObject D is still there

Workaround: If the asset is created with the reference to ScriptableObject, reference is not lost.

Reproduced on: 5.2.4f1, 5.3.4p3, 5.4.0b15

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.