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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
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