com.unity.localization 1.3.1

com.unity.localization

Notes: processedReleased April 27, 2022

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.4

Features

  • Added **Localize Property** context menu to properties in the Inspector. This can be used as an alternative to the **Track Changes** option to manually add the property as a **Localized Property Variant**. The menu item **Remove Localized Property** removes properties. The menu item **Remove Localized Property Variant** removes a specific selected Locale's override. (LOC-358)
  • Added `RemoveTrackedProperty` to `TrackedObject`.
  • Added support to handle a locale that has multiple fallbacks defined. (LOC-607)

📈 Improvements

  • Localized string and asset variants that are empty (no table or entry set) will no longer produce errors and will be ignored.
  • Replaced the `Locale Code` field in the Pseudo localization editor with a `Source Locale` field that only lets you select a locale in the project. (LOC-611)
  • Updated to Addressables `1.19.19`.
  • ### Deprecated
  • Replaced `Locale.GetFallback` with `Locale.GetFallbacks` in order to support multiple fallbacks per locale. (LOC-607)

🔧 Bug Fixes

  • Fixed `LocalesProvider.AddLocale` ignoring the locale being added when a potential fallback was already in the provider.
  • Fixed `LocalizedDatabase.GetTableAsync` creating a new operation each time when requesting a table that had not yet loaded. This would consume more memory than was necessary.
  • Fixed `LocalizedString` and `LocalizedAsset` not showing prefab overrides in the Inspector. (LOC-592)
  • Fixed `NullReferenceException` being thrown when applying property variants and the project locale was null. (LOC-601)
  • Fixed bug where calling `RefreshString`, when the loading operation had not completed, would cause `RefreshString` to execute twice.
  • Fixed build failures on Android Platform when System Language is used as Locale Source for Chinese (Simplified) & Chinese (Traditional). (LOC-681)
  • Fixed console errors and warnings when making changes in the Inspector and the project was not configured for localization.
  • Fixed duplicating of Addressable assets when importing a project with no library folder. (LOC-400)
  • Fixed errors when trying to create a table in the Packages directory. (LOC-614)
  • Fixed fallback not working when the fallback had a missing table.
  • Fixed operations being released immediately in edit mode, this could cause data to be lost too soon. (LOC-667)
  • Fixed operations sometimes being released too soon, which could cause them to be released before the yield on the operation had executed.
  • Fixed Psuedo locale editor using the incorrect field for the locale name.
  • Fixed Unity freezing when calling `WaitForCompletion` on a string operation that threw an exception during formatting. (LOC-630)
  • Improved automatic releasing of operations so that we no longer use `CompletedTypeless`, which generates GC.
  • Improved memory management to reduce the amount of garbage being generated by internal operations and adding/removing events. (LOC-571)
  • Reduced allocations when applying Localized Property variants and the string/asset operation was still loading. (LOC-480)