Search Issue Tracker
By Design
Votes
0
Found in
5.4.3p3
Issue ID
860655
Regression
No
Editor does not automatically save changes made to Scriptable Objects from scripts without explicit dirtying
Steps to reproduce:
1. Download and open the attached project
2. Open Assets/Data/TestObject in the inspector to observe changes
3. Go to Assets-->Modify asset (this adds a "!" to Element 0 of TestObject)
4. Save the project (this does nothing)
5. Close the project
6. Open the project
Expected result: TestObject has the modified value
Actual result: TestObject has the value from before being modified
Reproduced on 5.2.3f1. 5.3.7p2, 5.4.3p3, 5.5.0p1, 5.6.0a5
Notes:
-modifying the object manually by inputting values into it's elements is registered normally
-one consequence of this is AssetBundles not rebuilding the asset modified through the script(original submitted issue)
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
- Maximising Game view window on one display makes black bars appear on another display
- Creating a 3D Object when using 2 monitors and 2 Game View Windows on different monitors the created 3D Object only appears on one of them
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
Kichang-Kim
Dec 13, 2016 02:01
EditorUtility.SetDirty() not works.
SorenSaket
Dec 12, 2016 18:42
Are you marking the object as dirty?