Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.3.0a6
2018.3.14f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1151418
Regression
No
HideFlags are not respected on the Old Prefabs when editing them on the versions where Old Prefabs are deprecated
How to reproduce:
1. Open the attached "HideFlagBug2.zip" Project
2. Open the "HideFlagTestPrefabMadeWith2018.2(original).prefab" in Prefab Mode
3. Change any Value on the Transform of the root GameObject
4. Save Prefab
5. Close and Open Prefab again in the Prefab Mode
Expected Behavior: The "HideFlags.DontSaveInEditor" is respected and only one "Should not be saved" Child is present
Actual Behavior: The "HideFlags.DontSaveInEditor" is not respected and "Should not be saved" Child is duplicated
Reproducible with: 2018.4.1f1, 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
Note: Once the Prefab is saved in the 2018.3.0a6 or newer version - its serialization is changed and the issue does not reproduce anymore. If you open the Prefab in the text editor and search for "Should not be saved" you can see that it was serialized, even though it should not be. All the affected prefabs must be saved in 2018.3.0a5 or lower versions.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Add comment