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

Package: Localization Package

-

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)

  1. Resolution Note:

    The prefab system is trying to serialize a field that has a conflicting name.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.