Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Click on Game view to Focus
5. Press “D“
6. Click anywhere on Editor to unfocus Game view
7. Wait until “Simulated device enabled:“ shows “False“
8. Repeat step 4
9. Move the mouse around the Game view and observe “ActiveControl.Device“
Expected result: “ActiveControl.Device:“ shows “Mouse“
Actual result: When magnitude exceeds that of Mouse.current “ActiveControl.Device“ shows “Simulation.UI.MousePosition:“
Reproducible with: 1.14.0 (6000.1.17f1), 1.17.0 (6000.0.65f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4)
Reproducible on:
Play Mode
Does not reproduce on:
Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Does not reproduce when not unfocusing Play Mode when “Simulated device enabled:“ is “False“