Search Issue Tracker

By Design

Votes

1

Found in [Package]

5.1.4

6.0.2

Issue ID

ARFB-478

Regression

No

AR Foundation's XR Simulation ignores Mouse input when trying to rotate the camera

Package: AR Foundation

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. In the Game view, hold the right mouse button and move the mouse to rotate the camera

Expected result: The camera gets rotated
Actual result: The camera is not moving

Reproducible with: 5.1.4 (2021.3.39f1, 2022.3.34f1), 6.0.2 (6000.0.7f1)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Workaround:
1. Enter the Play Mode
2. Open the Input Debug window (Window > Analysis > Input Debugger)
3. Click “Options”
4. Click "Simulate Touch Input From Mouse or Pen"
5. Click “Options”
6. Click "Simulate Touch Input From Mouse or Pen" to disable it

  1. Resolution Note:

    Ensure that in the Input Debug window (Windows > Analysis > Input Debugger) that the option "Simulate Touch Input From Mouse or Pen" is not selected.

    The simulation camera relies on mouse input for navigating, but if this option is on then the mouse input is captured and converted into touch input.

Comments (1)

  1. CiaranWills

    Jul 01, 2024 23:17

    This is a known issue when having the Device Simulator window open when using AR Foundation's simulation. Closing the Device Simulator window should work around it.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.