needle-tools / ar-simulation

AR Simulation for Unity • Right in the Editor • Minimally Invasive
109 stars 10 forks source link

Device Simulator sometimes has doubled input events #21

Closed hybridherbst closed 4 years ago

hybridherbst commented 4 years ago

Describe the bug When using Device Simulator, some events seem to be sent double, resulting in incorrect behaviour for e.g. Toggles (are toggled on and immediately off again or vice versa).

To Reproduce Steps to reproduce the behavior:

  1. Clone https://github.com/needle-tools/arfoundation-samples
  2. Open SceneLoader scene
  3. Open Device Simulator window
  4. Press Play
  5. Interact with the "Menu" toggle

Expected behavior Each click results in the toggle changing state

Actual behaviour Sometimes, clicks result in toggle changing state twice in consecutive frames

Screenshots 200615-152553

Versions (please complete the following information):

hybridherbst commented 4 years ago

Another recording of this bug, from arfoundation-samples 20200618-015851

hybridherbst commented 4 years ago

Should be fixed with 1.0.0-preview.7