Search Issue Tracker

Fixed

Fixed in 1.2.1

Votes

0

Found in [Package]

1.1.1

Issue ID

LOC-581

Regression

No

Error: A table with the same key `----` already exists. Something went wrong during preloading.

Package: Localization

-

Problem with Localization package 1.1.1

1. I was asked to send an error report
[https://forum.unity.com/threads/a-table-with-the-same-key-already-exists-something-went-wrong-during-preloading.1231083/#post-7850712]

2. Enter play mode
throw error  A table with the same key `New Table` already exists. Something went wrong during preloading.

if Preload All tables == FALSE all OK
if InitializeSynchronously== TRUE all OK

if  remove with code in  LocalizationController all OK
//
  if (testLocale != null)
        {
            LocalizationSettings.SelectedLocale = testLocale;
        }
//

It feels like the preloaded  operation is not completed, but the initialization operation is completed
    // await LocalizationSettings.InitializationOperation.Task;
        while (!LocalizationSettings.InitializationOperation.IsDone)
            await Task.Yield();

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.