Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.2.1
1.4.2
Issue ID
LOC-678
Regression
No
Serialized LocalizedString fields revert to "None" value when set on Prefab instances
How to reproduce:
1. Open the user's attached project
2. Open scene LevelBuilder/LevelBuilder
3. In the Hierarchy window, select the "LevelSelectorButton" GameObject under UI -> HUD -> MenuSelector
4. In the Inspector window, under the Tooltip (Script) component, change the value of the Text field from "None"
5. Press the Play button and observe the Text value
Expected result: the Text value remains
Actual result: the Text value reverts back to "None"
Reproducible with: 1.1.1, 1.2.1 (2019.4.38f1, 2020.3.33f1, 2021.3.0f1, 2022.1.0b16, 2022.2.0a10)
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
The prefab system is trying to serialize a field that has a conflicting name.