Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2017.4.0f1

2018.4.0f1

2018.4.9f1

2019.2.0a1

2019.3.0a1

2020.1.0a1

Issue ID

1184424

Regression

No

Manually updating scriptable object asset file causes Unity to fail updating it's values

Asset - Database

-

How to reproduce:
1. Open the "696660.zip" project
2. Make sure "Auto Refresh" is turned off
3. Open the Data.asset in text editing software
4. Open the SO.cs script
5. Add "public int test_val;" to the script
6. Add "test_val: 1000" to the Data.asset file
7. In Project View press RMB > Refresh
8. Select the "Data.asset" in project View

Actual result: The test_val in data.asset is not updated.
Expected result: The new values are in data.asset are updated.

Reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.2.8f1, 2019.3.0b7, 2020.1.0a8, 2020.2.0a10.

Notes:
- On the user's project, reimporting all assets results in the .asset files getting overrided with 0 values. (not reproducible on minimal repro)

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a4

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.