Forum Discussion
BESpectacle
4 years agoProtege
Unity UI InputField text selection not working on Quest
Carat positioning and text selection are working in Unity Editor but not in Android .apk build.
It seems no click or drag events from a UI pointer inside the text field are registering. No indication of errors in the device logs.
This is the same for my own project and the sample scene in Unity Oculus Integration asset: Assets/Oculus/VR/Scenes/UI.unity
Anyone have this working?
1 Reply
Replies have been turned off for this discussion
- BESpectacleProtege
FYI we built a custom text input field component which works in our app: https://www.oculus.com/experiences/quest/3916601848368970/
However it's inconvenient to support this custom component for different platforms and it does not conform completely to all of the features of textmeshpro component. We continued to look for a solution and seem to have found one here:
https://forums.oculusvr.com/t5/PCVR-Development/Difference-between-Oculus-Link-and-PC-UI-interaction-in-VR/m-p/873548/highlight/true#M25276
Involving creating an embedded package out of TextMeshPro and modifying the TMP_InputField.cs class to prevent return in the OnFillVBO method if the field is not active.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 days ago
- 5 years ago