Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.4.0a4

Issue ID

UUM-119622

Regression

No

[tvOS] AppleTV remote controller's touchpad always returns the same value when the Input Action has a "D-Pad [Gamepad]" Binding

-

Reproduction steps:
1. Open the attached “tvOSInputIssue“ project
2. Build and Run the “Assets/Scenes/SampleScene“ Scene on an Apple TV device
3. In the Player, swipe the AppleTV remote controller’s touchpad
4. Observe the X and Y axis values in the middle of the screen

Expected result: The values increase proportionally to the swipe distance
Actual result: The values are either -0.707107 or 0.707107

Reproducible with: 1.8.0 (2022.3.47f1), 1.12.0 (2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2)

Reproducible on: AppleTV 4th Gen 16.5 (tvOS 18.1)

Workaround: Remove “D-Pad [Gamepad]” Binding from the “Move” Input Action

  1. Resolution Note:

    This issue indeed exists when an action is using both stick and dpad values on tvOS. And it's actually a visible issue because tvOS always reports diagonal values for dpad e.g. (up + right) or (down + left) etc., but never only on one axis.
    However, we don't want to filter dpad events from our side as that would be considered a breaking change. My suggestion is to use this work-around for tvOS:
    #if PLATFORM_TVOS
    moveAction.ApplyBindingOverride("*/leftStick");
    #endif

Add comment

Log in to post comment