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

InputSystem get mouse move not working in build

Discussion in 'Windows' started by InnerCoder, May 4, 2021.

  1. InnerCoder

    InnerCoder

    Joined:
    Nov 16, 2020
    Posts:
    15
    Hello,

    I get the mouse movement with the InputSystem to rotate the main camera. It works fine in editor. But when I compile for Windows, it doesn't work.

    I use a file InputActions (InputSystem settings window). But since everything works fine in editor, I suppose it is not an InputSystem issue.

    Any ideas ?

    Unity : 2019.4.18f1
    System : Windows 10

    Thank you very much
     
  2. timke

    timke

    Unity Technologies

    Joined:
    Nov 30, 2017
    Posts:
    395
    Hey,

    That does sound kind of weird and not really expected. The only explanation I can think of (without more info) is that the Player Settings -> Other Settings -> Active Input Handling isn't set to "new" Input System.

    If you're still having trouble with this, please go ahead and file a bug. While this probably isn't a Unity bug, sometimes it's just the easiest way for us to help.
     
  3. InnerCoder

    InnerCoder

    Joined:
    Nov 16, 2020
    Posts:
    15
    Hello timke,

    thanks for your reply. The "Active Input Handling" is already set to the "new Input System". I'll investigate my code.