SelectedLocale is Null - Exception

I want to implement multiple language support for my game so I have implemented the Localization Pre-Release package from the Package Manager.

But when I am pressing the Play button within Unity editor, I was getting this exception:
OperationException : SelectedLocale is null

Within the Unity editor too, no Locale is selected by default, see below image:

How to set the default Locale of this project?
This I can’t able to understand and I can’t able to find any solution on the Internet.

Theres a bug in the latest release when using WaitForCompletion that can cause this. Try disabling the option on any LocalizedStrings that you have.
It could also be that you need to configure the locale selector Localization Settings | Localization | 1.0.5

1 Like

Thank you, sir, for your quick reply and it worked for me :slight_smile:

Still, when I press the Play button within Unity editor, I was getting this exception.
7485625--921098--object reference not set instance.png

I am not sure it’s related to Localization or not!!

That does not look like a localization error. Its coming from the UI package.

1 Like