Search Unity

Bug Crash when using primary2DAxis + primaryButton

Discussion in 'XR Interaction Toolkit and Input' started by henymeny, Mar 6, 2021.

  1. henymeny

    henymeny

    Joined:
    Apr 19, 2014
    Posts:
    10
    The combination of those inputs cause a crash:
    "Only pass-through should be left in performed state"

    Seems like the input events Teleport Select & Teleport Mode Active cause this crash because both primary2DAxis and primaryButton are mapped to this action, and when you try to use both they probably trigger the action twice. STILL, THIS SHOULD NOT CRASH. why is Unity so bad at error recovery?

    anyway, deleting either one of those bindings resolved the problem.