LocalizationSettings.StringDatabase.GetTable error

When user change language, I want to get new localization table. After I delete all tables and reimport to new ones, this error is gone from Editor. But I still get this on build. How can I fix this?

Code error line:
StringTable stringTable = LocalizationSettings.StringDatabase.GetTable(tableType, selectedLocale);

Error log:

Exception: Exception: Attempting to use an invalid operation handle

UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.get_InternalOp () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:455)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.get_Status () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:542)
UnityEngine.ResourceManagement.AsyncOperations.GroupOperation.CompleteIfDependenciesComplete () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/GroupOperation.cs:172)
UnityEngine.ResourceManagement.AsyncOperations.GroupOperation.Execute () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/GroupOperation.cs:159)
UnityEngine.ResourceManagement.AsyncOperations.GroupOperation.InvokeWaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/GroupOperation.cs:49)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1[TObject].WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:150) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:593) UnityEngine.Localization.WaitForCurrentOperationAsyncOperationBase1[TObject].InvokeWaitForCompletion () (at projectPath/Library/PackageCache/com.unity.localization@1.3.2/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:44)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1[TObject].WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:150) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:593) UnityEngine.ResourceManagement.AsyncOperations.GroupOperation.InvokeWaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/GroupOperation.cs:42) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1[TObject].WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:150)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:593)
UnityEngine.Localization.WaitForCurrentOperationAsyncOperationBase1[TObject].InvokeWaitForCompletion () (at projectPath/Library/PackageCache/com.unity.localization@1.3.2/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:44) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1[TObject].WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:150)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:593)
UnityEngine.Localization.WaitForCurrentOperationAsyncOperationBase1[TObject].InvokeWaitForCompletion () (at projectPath/Library/PackageCache/com.unity.localization@1.3.2/Runtime/Operations/WaitForCurrentOperationAsyncOperationBase.cs:32) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1[TObject].WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:150)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle1[TObject].WaitForCompletion () (at projectPath/Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:198) UnityEngine.Localization.Settings.LocalizedDatabase2[TTable,TEntry].GetTable (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Locale locale) (at projectPath/Library/PackageCache/com.unity.localization@1.3.2/Runtime/Settings/Database/LocalizedDatabase.cs:296)

Could you please try updating to 1.4.3? We have some fixes around this area. If that doesn’t work post your code so I can see if anything stands out.

After updating version to 1.4.3 error in that scene fixed. Bu now when I change the scene and call the same method “LocalizationSettings.StringDatabase.GetTable(tableType, selectedLocale)” I get this error:

Exception: Reentering the Update method is not allowed. This can happen when calling WaitForCompletion on an operation while inside of a callback.
UnityEngine.ResourceManagement.ResourceManager.Update (System.Single unscaledDeltaTime) (at Library/PackageCache/com.unity.addressables@1.21.8/Runtime/ResourceManager/ResourceManager.cs:1190)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[TObject].WaitForCompletion () (at Library/PackageCache/com.unity.addressables@1.21.8/Runtime/ResourceManager/AsyncOperations/AsyncOperationHandle.cs:201)
NoesisLocalizationManager.UpdateLocalization () (at Assets/App/Scripts/Managers/NoesisLocalizationManager.cs:71)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <307f99c6ca41457e88f875b482781fa7>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <53aac14d88ba4477acc998b039cfd73a>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <53aac14d88ba4477acc998b039cfd73a>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <53aac14d88ba4477acc998b039cfd73a>:0)

Are you calling GetTable inside of an addressables callback? What does the code look like?