Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0b11
Issue ID
849901
Regression
Yes
FormerlySerializedAs Attribute does not set field values
STR:
1. Open the "Repro Scene" scene in the project
2. Change the "Font Color" value in "Repro Class (script)" component on both "Normal Object" and "Prefab Object" to black
3. Save the "Repro Scene"
4. Open a new scene
5. Open "Repro Scene" again
6. Observe the "Font Color" values
Expected: "Font Color" value is retained after re-opening the scene
Actual: "Font Color" value is retained in the "Normal Object", but switched back to yellow (as it is specified in the script's initial value) in "Prefab Object"
Reproduced on: 5.3.6p8, 5.3.7f1 5.4.1p3, 5.4.1p4, 5.4.2p4, 5.5.0b11, 5.6.0a2
Not reproduced on: 5.3.6f1, 5.4.1p1, 5.4.1p2
Regression introduced in: 5.4.1p3
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 UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Add comment