Skip to main content
Participant
February 4, 2021

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?
This topic has been closed for replies.

1 reply

Participant
February 25, 2022

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.