Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Issue with LocalizationSettings.AvailableLocales.Locales.Count that return zero but not always

Discussion in 'Localization Tools' started by ENOSI_Studio, Apr 3, 2022.

  1. ENOSI_Studio

    ENOSI_Studio

    Joined:
    Sep 13, 2020
    Posts:
    5
    Good morning ! I have a strange problem that I don't understand can someone please help me?

    my code ->
    wtf.png

    the console ->
    wtf2.png

    Thanks.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,230
    ENOSI_Studio likes this.
  3. TCYeh

    TCYeh

    Joined:
    Jul 25, 2022
    Posts:
    55
    Hello @karl_jones,

    Could you please provide an update on this issue?
    I am currently experiencing the exactly same problem.
    If you have found any solution or workaround, I would greatly appreciate it if you could share it.

    Thank you.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,230
    What version are you using? Could you try the latest 1.4.4? If it's not visible in the package manager you can edit the manifest.json file in the package folder
     
  5. TCYeh

    TCYeh

    Joined:
    Jul 25, 2022
    Posts:
    55
    Ok, I have now updated to version 1.4.4, and the issue has been resolved. Thank you very much!
     
    karl_jones likes this.