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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note (2018.3.X):
By design. Please see documentation: https://docs.unity3d.com/ScriptReference/PrefabUtility.RecordPrefabInstancePropertyModifications.html