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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a4