Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug 2019.3.0f5 + Rewired + iOS13.3

Discussion in '2019.3 Beta' started by brookebsmith, Jan 27, 2020.

  1. brookebsmith

    brookebsmith

    Joined:
    May 2, 2018
    Posts:
    6
    Hi,

    Has anyone else experienced Unity not returning inputs for joystick button 0 (pause) on controllers on iOS?

    On the Nimbus and PS4 controllers, the menu, center button 1 and 2 no longer return any inputs regards of what it's been mapped to.

    Unity 2019.2 worked as expected and triggers pause or other map keys I can assign.

    I ran the debugger scene for rewired and axis 18 is being triggered for Options on the PS4 controller and Menu on the Nimbus.

    I'm still using the old Input System in the player settings, all the other buttons work on the controller and I tested mapping pause to R2 and that pauses the game, so I can rule out any change of code.

    Thanks for any assistance.
    Cheers.
     
  2. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,633
    This is a new Unity bug.

    See this message for discussion links:
    https://forum.unity.com/threads/rewired-advanced-input-for-unity.270693/page-119#post-5430417

    See these two messages for a workaround:
    https://forum.unity.com/threads/rewired-advanced-input-for-unity.270693/page-119#post-5430810
    https://forum.unity.com/threads/rewired-advanced-input-for-unity.270693/page-119#post-5438304
     
    LeonhardP likes this.
  3. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,633
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    guavaman likes this.
  5. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,633
    Another update. Looks like they fixed the button bug but broke Left Stick X with the fix. (Or perhaps the left stick was already broken as well before but not fixed? Not sure.)

    A customer reported Left Stick X not working anymore on iOS/tvOS 13 2019.3.4f1, which is the version in which the Pause/Menu button fix was made according to the bug tracker.

    A workaround was posted here by @Benzor. I cannot understand why this fix would have anything to do with the left stick X value since these lines of code he commented out are related to buttons. It looks like there's a button/axis id mixup somewhere deeper in the code