Search Issue Tracker

Fixed

Votes

1

Found in [Package]

0.8.0-preview

0.9.0-preview

Issue ID

LOC-132

Regression

No

LocalizeStringEvent applies localization twice when activating object if StringReference was set when object was inactive

Package: Localization

-

Reproduction steps:
1. Open user attached Project "Test_localization_package_2"
2. Open "Assets/Scenes/SampleScene"
3. Press Play
4. Press "Test"

Expected result: SetText is called once when "Test" is pressed
Actual result: SetText is called twice when "Test" is pressed

Reproducible with: preview-0.8.1 (2019.4.16f1, 2020.1.17f1), preview-0.9.0 (2020.2.0f1, 2021.1.0a9)
Could not test with: 2018.4 (Compiler errors)

  1. Resolution Note:

    This will be fixed in a future version however it can be fixed now by changing the following code:
    LocalizeStringEvent.cs line 62.

    if (enabled) => if (isActiveAndEnabled)

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.