Search Issue Tracker

Active

Votes

0

Found in

2021.3.57f1

2022.3.67f1

6000.0.60f1

6000.2.8f1

6000.3.0b3

6000.4.0a3

Issue ID

UUM-122910

Regression

No

No InvalidOperationException error thrown when Active Input Handling is set to "Input System package" and "OnMouseDown()" is triggered

-

How to reproduce:
1. Open the attached “C1L8” project
2. Open Scene “Scene 1”
3. Enter Play mode
4. Click on the “MuchoPixels_Player_0” GameObject in Game view
5. Observe the Console

Expected result: InvalidOperationException error is thrown in the Console window
Actual result: No error or message is displayed in the Console window

Reproducible with: 2021.3.57f2, 2022.1.0a1, 2022.3.67f2, 6000.0.60f1, 6000.2.8f1, 6000.3.0b3, 6000.4.0a3

Reproducible on: Windows11, macOS 15.6 (M1)
Not reproducible on: No other environments tested

Notes:
- From version 2021.3.57f2 to version 6000.0.60f1 you need to change the Active Input Handling field manually, because either “Both” or “Input Manager” are selected by default instead of just “Input System package”
- InvalidOperationException should be thrown, informing the user that they are trying to read inputs using UnityEngine.Input class, but Active Input Handling is set to the Input System package

Add comment

Log in to post comment