I’m a bit lost, probably I did something which caused this. Here’s what I experience.
Entire exception from the Console.
No Locale could be selected:
The following (2) Locales were considered:
English (en)
Hungarian (hu)
The following (3) IStartupLocaleSelectors were used:
UnityEngine.Localization.Settings.SpecificLocaleSelector
UnityEngine.Localization.Settings.CommandLineLocaleSelector
UnityEngine.Localization.Settings.SystemLocaleSelector
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1/<>c__DisplayClass58_0<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>:<add_CompletedTypeless>b__0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>) (at Library/PackageCache/com.unity.addressables@1.18.2/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ChainOperationTypelessDepedency`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>:OnWrappedCompleted (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>) (at Library/PackageCache/com.unity.addressables@1.18.2/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ChainOperationTypelessDepedency`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>:OnWrappedCompleted (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<System.Collections.Generic.IList`1<UnityEngine.Localization.Locale>>) (at Library/PackageCache/com.unity.addressables@1.18.2/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ResourceManager:Update (single)
MonoBehaviourCallbackHooks:Update () (at Library/PackageCache/com.unity.addressables@1.18.2/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs:26)
I added two locales. Seems everything is okay with them.
I open the Addressables group, and do a clean build (clean all and then build).
On first playmode run, everything is fine. On the second playmode run I get the exception above in the spoiler.
Notes:
- Unity 2021.2.0a17.2411 - I will downgrade though, maybe, although it’s fast. I can restart the editor without major waiting time which is very compelling. But it’s an alpha, after all.
- Localization 1.0.0-pre.9
- Addressables 1.18.2 (originally I installed 1.18.4, but downgraded to see if anything has to do with the problem above, apparently not)
- After the exception shows up (second run), I go back, clean the addressables, rebuild, run, working. Second run, error.
- My Addressables content is currently basic, nothing fancy.
Any idea where to look?