Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a1
2018.3.4f1
2019.1.0a1
2019.2.0a1
Issue ID
1131349
Regression
No
Prefabs Overrides Window shows override objects with DontSave flags
How to reproduce:
1. Open user attached project "PrefabOverrides_183.zip"
2. Open "ReproScene" (in "Repro" folder)
3. Select "ReproPrefab"
4. In Inspector, click the "Overrides" button
Expected result: There are no override objects
Actual result: There are override objects
Reproducible with - 2018.3.7f1, 2019.1.0b5, 2019.2.0a6
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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Resolution Note (2019.2.X):
The overrides dropdown is not just for showing what will be applied if clicking Apply All. It's also to show what will be reverted if clicking Revert All. Since the overrides in question, which are references to HideAndDontSave objects, would be reverted if clicking Revert All, we can't hide them in the overrides dropdown, since it would then be missing information about some of the things that would be affected.
To avoid the issue, references that are meant to reference non-serialized objects are recommended to make non-serialized as well using the NonSerialized attribute https://docs.unity3d.com/ScriptReference/NonSerialized.html.
Alternatively, the entire objects which references a HideAndDontSave object can be marked as HideAndDontSave as well in certain situations, for example the MeshFilter for a generated mesh. A change is currently being rolled out which ensures that added GameObject and components that are themselves HideAndDontSave don't show up in the overrides dropdown.