Search Issue Tracker

Fixed

Fixed in 1.5.0-pre.6

Votes

0

Found in [Package]

1.5.0-pre.5

Issue ID

LOC-1025

Regression

No

ActiveLocalizationSettings.SendLocaleChangedEvents function is called with every character typed in a Localization Table even when there is no locale change

Package: Localization Package

-

Reproduction steps:
1. Open the user-attached “1697939 Optimization for Unity's localization package.zip“ project
2. Enter Play mode
3. Go to Window > Asset Management > Localization Tables
4. Press the “Add New Entry” button in the “Edit Table Collection” tab of the Localization Tables window
5. Type in the English or Spanish text fields
6. Observe the Console

Expected result: The “SendLocaleChangedEvents” message gets logged only when there is a locale change
Actual result: The “SendLocaleChangedEvents” message gets logged regardless of whether the locale has changed or not

Reproducible with: 1.4.5 (2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14)

Reproduced on: Windows 11 Pro (22H2)
Not reproduced on: No other environment tested

Notes:
- The “SendLocaleChangedEvents” message gets logged in the Console every time the ActiveLocalizationSettings.SendLocaleChangedEvents function is called
- The reporter has attached a “0001-Customer-suggestion.patch“ file with the customer-suggested changes to resolve the issue

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.