Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 2021.1 Device Simulator doesn't work with new Input system

Discussion in 'Editor & General Support' started by andysaia, May 28, 2021.

  1. andysaia

    andysaia

    Joined:
    Nov 2, 2015
    Posts:
    21
    Is this a known bug I'm hoping there's a workaround?

    It looks like the version of the device simulator that ships with 2021.1 doesn't work with the new input system.

    The latest version of the device simulator package does work with the new input system
    "com.unity.device-simulator": "3.0.0-preview"

    I tried importing the package into my 2021.1 project but receive a compiler error.

    I submitted a bug report [Case 1339455]
     
    Last edited: May 28, 2021
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,749
    Remember: NOBODY memorizes error codes. The error code is absolutely the least useful part of the error. It serves no purpose at all. Forget the error code. Put it out of your mind.

    The important parts of an error message are:
    - the description of the error itself (google this; you are NEVER the first one!)
    - the file it occurred in (critical!)
    - the line number and character position (the two numbers in parentheses)

    All of that information is in the actual error message and you must pay attention to it. Learn how to identify it instantly so you don't have to stop your progress and fiddle around with the forum.

    How to understand compiler and other errors and even fix them yourself:

    https://forum.unity.com/threads/ass...3-syntax-error-expected.1039702/#post-6730855
     
  3. andysaia

    andysaia

    Joined:
    Nov 2, 2015
    Posts:
    21
  4. andre-summit

    andre-summit

    Joined:
    Nov 10, 2020
    Posts:
    6
    Hi, we are testing Unity v2021.1.10f1 running on Windows. Device Simulator (the one integrated into Unity 2021) renders the scene but mouse clicks don't work at runtime (in Play Mode). Even on a simple scene with just a Canvas and a Button, it's impossible to interact with it. Everything is fine when switching back to Game view and when installed on device. Not sure if this has something to do with it but the project is using the New Input System v1.0.2 and the computer is using 2 monitors. Is this a bug or we are missing something?
     
  5. IAndrewNovak

    IAndrewNovak

    Joined:
    Nov 29, 2013
    Posts:
    105
    Bump
    Same issue Unity 2021.1.19
     
  6. nschulz

    nschulz

    Joined:
    Aug 13, 2021
    Posts:
    2
  7. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    76
    Bump.
    The bug issue above reports that it was Fixed in 2021.1.28f1, but it wasn't in fact.