Search Issue Tracker

Won't Fix

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

  1. Resolution Note:

    Hi! This is Input Manager specific API and requires it to be enabled in the input backend options.

    We’ve decided not to work on adding a new error for it for a few reasons:
    - The requirement is already documented and warned about in the API docs.
    - From 6000.4+ editors, the API is also available for the Input System to make the transition easier.
    - There's much higher priority bugs to focus on at this time

    Thanks for your understanding

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.