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
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
- Crash on GetSpriteAtlasDependenciesFromBinary when opening specific project
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
Add comment