From 01cf2891c0cec5a775a0b100ad4af8645de17dd7 Mon Sep 17 00:00:00 2001 From: Aswin Gopal Date: Thu, 5 Feb 2026 17:21:38 +0530 Subject: [PATCH 1/2] Fix: Allow isolated input raycast selection to accept hits on child objects. --- .../InputSystem/Plugins/OnScreen/OnScreenStick.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Plugins/OnScreen/OnScreenStick.cs b/Packages/com.unity.inputsystem/InputSystem/Plugins/OnScreen/OnScreenStick.cs index 25920c27c2..7767c76b5c 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Plugins/OnScreen/OnScreenStick.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Plugins/OnScreen/OnScreenStick.cs @@ -252,7 +252,7 @@ private void OnPointerDown(InputAction.CallbackContext ctx) var stickSelected = false; foreach (var result in m_RaycastResults) { - if (result.gameObject != gameObject) continue; + if (!result.gameObject.transform.IsChildOf(transform)) continue; stickSelected = true; break; From e9ee314a6e29aebfe50c5a6c11776361e243041f Mon Sep 17 00:00:00 2001 From: Aswin Gopal Date: Thu, 5 Feb 2026 17:28:14 +0530 Subject: [PATCH 2/2] Update changelog. --- Packages/com.unity.inputsystem/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index fb7dbba1bb..28fe13d605 100644 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -21,6 +21,7 @@ however, it has to be formatted properly to pass verification tests. - Align title font size with toolbar style in `Input Action` window. - Updated Action Properties headers to use colors consistent with GameObject component headers. - Fixed misaligned Virtual Cursor when changing resolution [ISXB-1119](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1119) +- Fixed OnScreenStick ignoring dynamic-origin presses when isolated input actions were enabled. [ISXB-1027](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1027) ### Added