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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment