Search Issue Tracker
By Design
Votes
2
Found in
2018.3.0b7
Issue ID
1094325
Regression
No
Changes to prefab references done by scripts are not marked as overrides and are lost after exiting Play Mode
How to reproduce:
1. Open user-submitted project (PrefabOverridesBug)
2. In the 'Prefabs' folder select the 'ItemWithDot' prefab and drag it into the scene
3. Open the 'TestEditor' custom window (Window > TestEditor)
4. Click the 'Add ring' option
Expected result: the 'Ring' variable on the 'ItemWithDot' GameObject is marked as an override
Actual result: the 'Ring' variable on the 'ItemWithDot' GameObject is not marked as an override and the reference is lost after exiting Play Mode
Reproducible with: 2018.3.0a6, 2018.3.0b8, 2019.1.0a6
Could not test with: 2018.3.0a5
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2018.3.X):
By design. Please see documentation: https://docs.unity3d.com/ScriptReference/PrefabUtility.RecordPrefabInstancePropertyModifications.html