Search Issue Tracker
Duplicate
Votes
11
Found in
2018.3.0b7
2019.1.0a6
2019.2.0a1
2019.2.4f1
2019.3.0a1
2020.1.0a1
Issue ID
1183879
Regression
Yes
Prefab instance changes are reverted when FormerlySerializedAs is applied in a class in a nondefault Namespace
How to reproduce:
1. Download and open the attached project "1183879.zip"
2. Inspect TestField values set to PrefabNamespace Asset and instance in the scene
3. Open Player settings window (Edit -> Project Settings -> Player)
4. Add scripting define symbol "FORMERLY_SERIALIZED_AS" in Player window
5. Reimport the PrefabNamespace Asset
6. Inspect the PrefabNamespace instance
Expected result: Prefab instances TestField value remains as set
Actual result: Prefab instances TestField value reverts to a value set in Prefab Asset
Reproducible with: 2018.3.0b7, 2018.4.10f1, 2019.1.0a6, 2019.1.14f1, 2019.2.7f2, 2019.3.0b4, 2020.1.0a5
Not reproducible with: 2017.4.32f1, 2018.3.0b6, 2019.1.0a5
Notes:
The issue is reproducible with Prefab Variants as well.
Comments (2)
-
Bastienre4
Jan 08, 2020 16:41
This is a big issue for us too.
-
nuverian
Jan 07, 2020 18:30
This is really important and just stumbled on this. I do hope it gets fixed soon.
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
This is a duplicate of issue #1114464