Steps to reproduce:
- Create a new project using Universal 3D template
- Enter Play mode
- In the Game view, click with mouse and hover over the Game view
- Observe the Console
Actual results: "Map index out of range in ProcessControlStateChange", "Control index out of range", "Binding index out of range", "Exception 'NullReferenceException' thrown from state change monitor 'InputActionState' on 'Vector2:/Mouse/position'" and "NullReferenceException" errors are spammed in the Console as the cursor hovers over Game view
Expected results: No errors or exceptions are thrown when using the mouse in the Game view during Play mode
Reproducible with versions: 1.20.0 (6000.6.0b6)
Not reproducible with versions: 1.19.0 (6000.6.0b6, 6000.7.0a3), 1.20.0 (6000.3.21f1, 6000.5.6f1, 6000.6.0b5, 6000.7.0a3)
Tested on (OS): Ubuntu 24.04
Notes:
- The issue does not reproduce after any Domain Reload is triggered (creating script, installing/downgrading packages); therefore, it was only reproducible with 6000.6.0b6, because it was the only version where the project would be created with 1.20.0 version by default (and downgrading/upgrading package version makes it not reproducible anymore)
- Could not reproduce on macOS or Windows, but was able to reproduce on two separate Ubuntu 24 machines
- Does not reproduce after changing Enter Play Mode Settings to "Reload Domain and Scene"
- Might be related to Upgrade of the Universal 3D template, as the issue did not reproduce before upgrading. But could be a coincidence as the issue sometimes does not reproduce, can be inconsistent and did not reproduce on other versions with the new template version