Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

New input system package does not send key events when launching with the "-parentHWND" argument

Discussion in 'Editor & General Support' started by Lunatix, Apr 15, 2020.

  1. Lunatix

    Lunatix

    Joined:
    Dec 28, 2012
    Posts:
    11
    I'm hosting a Unity application into a WPF "HwndHost". Unfortunately when doing this, the new input system package does not send any keyboard events.

    However, using the old input system works without any issues. I have also tested this with the "EmbeddedWindow" project found in the documentation (https://docs.unity3d.com/Manual/CommandLineArguments.html).

    Is there something I have to do to get this working or is this simply a bug / not supported?
     
  2. Chrueschsch1e

    Chrueschsch1e

    Joined:
    Jan 28, 2020
    Posts:
    5
    I am having the exact same problem. Would be very glad to know if there is a way around that, or if we need to wait for a fix in the future...
     
unityunity