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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
The prefab system is trying to serialize a field that has a conflicting name.