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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
Resolution Note (2018.3.X):
By design. Please see documentation: https://docs.unity3d.com/ScriptReference/PrefabUtility.RecordPrefabInstancePropertyModifications.html