Forum Discussion
vishalbharti.433800
10 months agoExplorer
Keyboard Input Not Working on InputField with Ray Interaction on Canvas (Unity XR/Meta Development)
ello everyone, I'm developing an application in Unity 6 latest version using the Meta XR All-in-One SDK (latest version). I'm encountering a frustrating issue for some timewith an InputField (specif...
saadk
9 months agoMeta Employee
Hi!
Are you using multiple active Input Modules? Unity generally works with a single input module active at a time. The Interaction SDK uses PointableCanvasModule .. which currently does not process mouse/keyboard input (we have a custom version in a sample project that supports this).
You can use the sample project using the CusomtPointableCanvasModule for reference as a stop gap. This works with the old input system or if 'both' are active in the player settings. If you're exclusively using the new input system then you'll need to modify the script to extend from InputSystemUIInputModule instead of StandaloneInputModule :
Project link : Tracked Keyboard Sample
Additionally, there is an issue with the TMP input field in Unity (losing focus) using a physical keyboard/mouse that you might run into when running your apk on the device :
https://discussions.unity.com/t/android-tmp-inputfield-with-bluetooth-keyboard-or-mouse/1642865
Hope that helps! : )
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
- 2 years ago
- 2 years ago
- 8 months ago