Search Unity

Nintendo Switch JoyCon does not work after plug in

Discussion in 'Input System' started by io-games, Oct 18, 2019.

  1. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    104
    I'm launching game with unplugged joycons and they works. Than plug in and Unity stops detecting input.

    I guess I need somehow detect this situation and register input events again.
     
  2. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    What platform?
     
  3. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    104
    Nintendo Switch
     
  4. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    I assume you have the Switch input system package installed?

    With that installed, if input doesn't come through with the JoyCon plugged in (regardless of when during play), that'd likely be a bug. Please file a bug report.
     
  5. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    104
    I found commit - deleting some code due NDA
    https://github.com/Unity-Technologi...b19e047#diff-8bd3125ea8f0fce8a0793dbf7cd37aa8
    I guess I need to ask someone to get access to additional package for new input system with switch support.

    maybe it's connected, but now demo does not work on switch
    https://github.com/Unity-Technologies/InputSystem/issues/925
     
    Last edited: Oct 19, 2019