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
- 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:
- 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`.