Search Issue Tracker
Fixed
Votes
0
Found in [Package]
0.6.1-preview
Issue ID
LOC-87
Regression
No
Changing the LocalizedString on a Text Component does not update the text value when changing it not through SetReference method
How to reproduce:
1. Open the attached project (case-1234125.zip)
2. Open the SampleScene
3. Enter the Play Mode
4. Click on "Button1" and "Button2"
Expected result: LocalizedString gets set to the 3rd entry in the Localization table and both text values change to "entry 3 text"
Actual result: LocalizedString gets set to the 3rd entry in the Localization table and only the 1st text value changes to "entry 3 text"
Reproducible with: 0.5.0-preview (2020.2.0a7), 0.5.1-preview (2020.2.0a7), 0.6.0-preview (2019.3.7f1), 0.6.1-preview (2020.1.0b4, 2020.2.0a7)
Could not test with: 0.4.0-preview and earlier (LocalizedString, LocalizedStringBehaviour not introduced)
Notes:
1. The LocalizedString seems to change successfully (see the Console Logs or the Inspector) but the text value does not change
2. Versions 0.5.1-preview and 0.5.0-preview do not have "SetReference" method and setting it manually (myStringReference1.StringReference.TableEntryReference = testLocalizedString.TableEntryReference) don't seem to change the text values anymore (it worked in higher versions)
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
- Fixed `UpdateString` not being called When a new `LocalizedString` was assigned to `LocalizeStringEvent.StringReference`.
- Fixed `UpdateAsset` not being called When a new `LocalizedAsset` was assigned to `LocalizeStringEvent.AssetReference`.