Search Issue Tracker

Fixed

Fixed in 1.4.2

Votes

0

Found in [Package]

1.4.2

Issue ID

LOC-722

Regression

Yes

Updating LocalizationString when exiting Play mode causes ResourceManagement errors

Package: Localization Package

-

Reproduction steps:
1. Open the user attached project
2. Build Addressable content (Addressables Groups > Build > New Build > Default Build Script)
3. Make sure "Use Existing Build" is selected (Addressables Groups > Play Mode Script > Use Existing Build)
4. Make sure "Enter Play Mode Options" is enabled (Project Settings > Editor > Enter Play Mode Options)
5. Open the "SampleScene" scene and enter Play mode
6. Exit Play mode and observe the Console

Expected result: No errors
Actual result: Various errors

Reproduced with: 1.0.0 (2019.4.39f1), 1.3.1 (2019.4.39f1, 2020.3.34f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15)

Reproduced on: macOS 12.0.1 (Intel)

Errors:
* OperationException : Unknown error in AsyncOperation : Resource<IAssetBundleResource>(localization-locales_assets_all.bundle)
* OperationException : GroupOperation failed because one of its dependencies failed
* System.Exception: Dependency Exception ---> UnityEngine.ResourceManagement.Exceptions.OperationException: GroupOperation failed because one of its dependencies failed --->
* OperationException : GroupOperation failed because one of its dependencies failed
* ResourceManagerException : ProvideResources failed
* OperationException : ChainOperation failed because dependent operation failed
* No Locale could be selected:
* The AssetBundle 'localization-locales_assets_all.bundle' can't be loaded because another AssetBundle with the same files is already loaded.
* Exception: The ProvideHandle is invalid. After the handle has been completed, it can no longer be used

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.