Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.14f1
2019.3
2020.1
2020.2
Issue ID
1240423
Regression
No
Scriptable Asset values reset when the project is restarted
Steps to reproduce:
1. Open user attached project "Template Project.zip"
2. In the top menu create an Asset GD Advertisement ->SetUp Adds
3. Select the created Asset in the Assets->GameDistrictAdvertisement
4. In the Inspector window change any values
5. Save and restart the project
6. Notice the changed Asset values have been reset
Expected results: Changed Asset values are saved after restarting the project
Actual results: Changed Asset values are not saved after restarting the project
Reproducible with: 2018.4.22f1, 2019.3.13f1, 2020.1.0b8, 2020.2.0a9
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
- "GUI Error: Invalid GUILayout state in ConsoleWindow view" and "NullReferenceException" errors are thrown when pinging GameObject in inactive Hierarchy from Console
- Crash on profiling::Dispatcher::AcquireFreeBuffer when the Editor's profiler session acquires a new dispatch buffer to emit UI events
- [XRIT] CurveVisualController causes "Invalid AABB" and "IsFinite(distanceForSort)" errors when startup endpoint equals origin
- Building with -nographics breaks VFX Graph Position (Depth) as an Operator
- MacOS server cannot find libMonoPosixHelper.dylib when calling GZipStream
Resolution Note:
GameDistrictAdvertiser in the sample project has its properties backed by private fields.
Private fields are not serialized (persisted) by default, they must be marked with attribute `SerializeField` (see: https://docs.unity3d.com/ScriptReference/SerializeField.html)