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
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
- D3D12 PSO disk cache feature crashes if paths contain non-ASCII characters
Resolution Note (2018.3.X):
By design. Please see documentation: https://docs.unity3d.com/ScriptReference/PrefabUtility.RecordPrefabInstancePropertyModifications.html