Hello,
I am encountering a really blocking bug that makes my whole editor crash when I am changing a scene, not the first time but 100% the next times.
I am forced to force quit Unity using the Windows Task Manager and in 15 sec time I have an Editor.Log filled with more than 300 000 references to WaitForCurrentOperationAsyncOperationBase.cs, from the Localization Plugin, which I have the last version.
I absolutely need to find a way to fix this bug fix or at least find a workaround because I just cannot work as long as it is here. And the most mysterious thing is that it appeared without any specific reason because I use the package for multiple months and wasn’t working on it before having the crash.
I hope I can find help here because I tried everything I found online about Localization or Addressables.
The issue seems to happen during the “Awake” event, I tried to disable everything I had that could happen before it in the logs but without any results.
Just one element make me think that it could be my own code issue is that it only happens in one scene, “Start_CharaSelection” but it is a really simple scene with few elements and the scene opens perfectly fine when directly opened inside the editor.
Here is 3 crash log I encountered during my tests :
CrashLogLocalisation.zip (8.4 MB)
The Logs are filled with this block :
(Filename: ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs Line: 20)
Calling WaitForCompletion on an operation that is already waiting.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Assert (bool,string)
UnityEngine.Localization.Operations.WaitForCurrentOperationAsyncOperationBase`1<UnityEngine.Localization.Tables.StringTable>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:20)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<UnityEngine.Localization.Tables.StringTable>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:607)
UnityEngine.Localization.Operations.WaitForCurrentOperationAsyncOperationBase`1<UnityEngine.Localization.Settings.LocalizedDatabase`2/TableEntryResult<UnityEngine.Localization.Tables.StringTable, UnityEngine.Localization.Tables.StringTableEntry>>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:32)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<UnityEngine.Localization.Settings.LocalizedDatabase`2/TableEntryResult<UnityEngine.Localization.Tables.StringTable, UnityEngine.Localization.Tables.StringTableEntry>>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:607)
UnityEngine.Localization.Operations.WaitForCurrentOperationAsyncOperationBase`1<string>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:32)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<string>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<string>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:195)
MindVenture.Intro.QuestionAnswerData:OnValidate () (at Assets/Scripts/Narration/Intro/QuestionAnswerData.cs:37)
UnityEngine.ResourceManagement.ResourceProviders.AssetDatabaseProvider:LoadAssetAtPath (string,UnityEngine.ResourceManagement.ResourceProviders.ProvideHandle) (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/ResourceProviders/AssetDatabaseProvider.cs:41)
UnityEngine.ResourceManagement.ResourceProviders.AssetDatabaseProvider/InternalOp:LoadImmediate () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/ResourceProviders/AssetDatabaseProvider.cs:110)
UnityEngine.ResourceManagement.ResourceProviders.AssetDatabaseProvider/InternalOp:WaitForCompletionHandler () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/ResourceProviders/AssetDatabaseProvider.cs:90)
UnityEngine.ResourceManagement.AsyncOperations.ProviderOperation`1<UnityEngine.Localization.Tables.StringTable>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/ProviderOperation.cs:81)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<UnityEngine.Localization.Tables.StringTable>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:607)
UnityEngine.Localization.Operations.WaitForCurrentOperationAsyncOperationBase`1<UnityEngine.Localization.Tables.StringTable>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:51)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<UnityEngine.Localization.Tables.StringTable>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:607)
UnityEngine.Localization.Operations.WaitForCurrentOperationAsyncOperationBase`1<UnityEngine.Localization.Settings.LocalizedDatabase`2/TableEntryResult<UnityEngine.Localization.Tables.StringTable, UnityEngine.Localization.Tables.StringTableEntry>>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:32)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<UnityEngine.Localization.Settings.LocalizedDatabase`2/TableEntryResult<UnityEngine.Localization.Tables.StringTable, UnityEngine.Localization.Tables.StringTableEntry>>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:607)
UnityEngine.Localization.Operations.WaitForCurrentOperationAsyncOperationBase`1<string>:InvokeWaitForCompletion () (at ./Library/PackageCache/com.unity.localization@1.5.3/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:32)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1<string>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:174)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<string>:WaitForCompletion () (at ./Library/PackageCache/com.unity.addressables@1.22.2/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:195)
MindVenture.Intro.QuestionAnswerData:OnValidate () (at Assets/Scripts/Narration/Intro/QuestionAnswerData.cs:37)
Thank you a lot for your time