Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. Create EventSystem GameObject in the Hierarchy and select it
3. In Inspector window > Input System UI Input Module (Script) Component change Tracked Position to “Player / Fire”
4. Create Scrollbar GameObject in the Hierarchy
5. Enter Play Mode
6. Click on Scrollbar Handle
7. Observe the Console window
Actual results: “InvalidOperationException” errors are thrown in the Console window
Expected results: No errors are thrown in the Console window, Inspector should validate the assigned action's value type and display a warning when an incompatible action is bound to the Tracked Position field
Reproducible with versions: 1.19.0 {}(6000.0.76f1, 6000.3.17f1, 6000.4.11f1, 6000.5.0b12, 6000.6.0a6)
Tested on (OS): Windows 11, macOS Tahoe 26.4.1
InvalidOperationException while executing 'performed' callbacks of 'Player/Fire[/Mouse/leftButton]' UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass7_0:<set_onUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType,UnityEngineInternal.Input.NativeInputEventBuffer*) UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType,intptr) (at /Users/bokken/build/output/unity/unity/Modules/Input/Private/Input.cs:120)
InvalidOperationException: Cannot read value of type 'Vector3' from control '/Mouse/leftButton' bound to action 'Player/Fire[/Mouse/leftButton]' (control is a 'ButtonControl' with value type 'float') UnityEngine.InputSystem.InputActionState.ReadValue[TValue] (System.Int32 bindingIndex, System.Int32 controlIndex, System.Boolean ignoreComposites) (at ./Library/PackageCache/com.unity.inputsystem@21a28c3a6c83/InputSystem/Actions/InputActionState.cs:2904) UnityEngine.InputSystem.InputAction+CallbackContext.ReadValue[TValue] () (at ./Library/PackageCache/com.unity.inputsystem@21a28c3a6c83/InputSystem/Actions/InputAction.cs:2420) UnityEngine.InputSystem.UI.InputSystemUIInputModule.OnTrackedDevicePositionCallback (UnityEngine.InputSystem.InputAction+CallbackContext context) (at ./Library/PackageCache/com.unity.inputsystem@21a28c3a6c83/InputSystem/Plugins/UI/InputSystemUIInputModule.cs:2283) UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray`1[System.Action`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at ./Library/PackageCache/com.unity.inputsystem@21a28c3a6c83/InputSystem/Utilities/DelegateHelpers.cs:46) UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*) UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr) (at /Users/bokken/build/output/unity/unity/Modules/Input/Private/Input.cs:120)
Issues you vote on will appear here