Exception: Attempting to use an invalid operation handle (928100)

Hi, every time I hit play on my project, i’m getting this error:

And when I click on it in the console, it points to one of my Text fields with a Game Object Localizer Script.
But what’s strange is that when I change locales with the top right dropdown, things seems to be working as expected?

Only thing I’m noticing is that localization package is dependant on com.unity.addressables@1.21.8 but my project has com.unity.addressables@1.21.9 (probably because of another dependency).

Not sure if this is the reason, but it’s something…

Hi,
Could you please file a bug report Unity QA: Building quality with passion

A

After waiting over an hour for the bug to be submitted, I ended up with this error on the bug reporter itself:9266940--1297071--Screenshot 2023-09-01 at 2.48.42 PM.png

Ok, was able to submit again after duplicating the project folder and removing a lot of extra scenes and assets while still getting these errors.

https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-53557

The error you are getting are due to your initialization script, you cant return a new AsyncOperationHandle<bool>();.
Its an empty handle.

You need to do return Addressables.ResourceManager.CreateCompletedOperation(true, "");

Theres also something strange going on with the localization Game View menu so you may want to disable that in the preferences.

After doing this now i’m getting A LOT of errors like this when STOPPING the player:

After my previous incident was closed for using an old version, I updated to the latest LTS and still getting this problem.
New ticket is IN-53957

Hi there,
I’m facing exactly the same bug.

Unity 2022.3.9f
com.unity.addressables@1.21.17

This bug happens always when the “Localization Scene Controls” is open

Hi,
Could you please file a bug report?

I filed it 2 weeks ago: https://discussions.unity.com/t/928100/7

 TableReference tableReference = "String Localization";
        m_Table = LocalizationSettings.StringDatabase.GetTableAsync(tableReference);
        yield return m_Table;

This code exactly trigger this error

Have no idea why, and it happens only on the build not in the editor

What version are you using? Can you try the latest 1.5.2?

On 1.4.5 , I also tried to manually upgrade to version 1.5.2 by updating package manifest , same error happens.

The only way to skip that, is to force Sync and call only GetTable instead of GetTableAsync.

Could you please file a bug report?