Search Issue Tracker
Fixed
Votes
0
Found in
5.3.3p2
Issue ID
776446
Regression
No
[tvOS] Native input fields can't be used with a gamepad
Fix:
In trampoline UnityAppController+ViewHandling.mm change createUnityViewControllerForTVOS to:
- (UnityViewControllerBase)createUnityViewControllerForTVOS
{
UnityDefaultTVViewController controller = [[UnityDefaultTVViewController alloc] init];
// This enables game controller use in on-screen keyboard
controller.controllerUserInteractionEnabled = YES;
return controller;
}
To Reproduce:
1. Attach a gamepad to you Apple TV (used Steelseries stratus).
2. Build and run the attached project.
3. Click on any of the input field.
4. Observe that the native keyboard can't be navigated/used with the gamepad (only Apple remote works).
This works in all other native apps I've tested (Search app, Youtube, Bloomberg TV etc..)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Up, Down and other Buttons in a Style Sheet's Inspector unselect items when they are clicked while they are disabled
- Virtual Player remains active and still launches when removed from Additional Editor Instances from a custom Play Mode Scenario
- UI Toolkit Editor Window Creator becomes not interactable and greyed out when a long name is entered
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
Add comment