Search Unity

Question Device simulator Error

Discussion in 'Localization Tools' started by denis_bogdanov, May 20, 2021.

  1. denis_bogdanov

    denis_bogdanov

    Joined:
    Apr 20, 2015
    Posts:
    144
    Hello

    1. Unity 2020.3.7
    2. Device Simulator 3.0.0 - preview
    3. Localization 1.0 pre9

    Enter Play Mode -> Throw error :

    Device Simulator plug-in UnityEditor.Localization.UI.PackageLanguageMenu returned an empty title. It will not be added to the Control Panel.
    UnityEditor.DeviceSimulation.SimulatorWindow:OnEnable () (at Library/PackageCache/com.unity.device-simulator@3.0.0-preview/Editor/SimulatorWindow.cs:45)

    How can i fix it?
     

    Attached Files:

  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Looks like we need to update something for our device simulator implementation. Ill look into it.
     
    denis_bogdanov likes this.
  3. danilocjr

    danilocjr

    Joined:
    Oct 4, 2017
    Posts:
    8
    I more here, waiting this fix :(
    Turning back Simulator to previous version...
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    We have fixed this in the next release. You can make the following change now if you need it to work, you will need to move the package out of the package cache directory and into the project Packages directory.

    upload_2021-5-24_16-29-19.png
     
    denis_bogdanov likes this.
  5. denis_bogdanov

    denis_bogdanov

    Joined:
    Apr 20, 2015
    Posts:
    144
    Hello , little question

    Sequence of actions:

    1. Open Device Simulator (2.2.4)
    2 Open Control Panel
    3. Set Application Settings -> System Language -> Changing English to Polish(or another)
    4. Play
    5. Localization choosing windows system language not device simulator system language

    Is it supposed to be like that?
     

    Attached Files:

  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Yes we have 2 languages. The Edit mode language and the play mode language. So when you enter playmode it will revert to normal operation and use the Locale Selectors however you can then just change it with the menu like before.
     
    denis_bogdanov likes this.
  7. christopher_hof

    christopher_hof

    Joined:
    Dec 30, 2020
    Posts:
    10
    Updated to Device Simulator 3.0.1 - preview and this is still showing up.

    Device Simulator plug-in UnityEditor.Localization.UI.PackageLanguageMenu returned an empty title. It will not be added to the Control Panel.
    UnityEditor.DeviceSimulation.SimulatorWindow:OnEnable () (at Library/PackageCache/com.unity.device-simulator@3.0.1-preview/Editor/SimulatorWindow.cs:45)
     
  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    This will be fixed in the next localization release 1.0.0-pre.10
     
    christopher_hof likes this.
  9. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    467
    Hello.
    Still got this problem, as seen here.
    I'm on Unity 2019.4.
     
  10. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    467
    Ah, err do we just need to move a file or do we also need to edit a line or two in some code file?
     
  11. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    If the latest version of the localization package is not working with the device simulator then we will need a bug report. This fix is already in the latest version.
     
  12. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    467
    I do not know how long a correction will take to roll out if needed but in the meantime I could go on with this issue if I knew how uncritical it were. Is it just an Editor UI glitch that I can ignore? Do I still need to do what is described here?
     
  13. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    No that is already done in the package since 1.0.0-pre.10
     
  14. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    467
    On the other hand if I'm lucky enough, the fact that it's called legacy PLM means that it's deprecated and obsolete and Unity is already using a fresher version. I'll integrate Localization in the project and see if I come across other issues.
     
    Last edited: Oct 18, 2021