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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment