cancel
Showing results for 
Search instead for 
Did you mean: 

The 2D App Doesn't Accept Controller Click Input

hymmnos
Honored Guest

As the title suggests, in a 2D app created with Unity, I am unable to press buttons using rays from the controller or hand tracking. However, if I physically reach out to the position of the app window, the buttons can be used.

How can I make it possible to press buttons using the ray?

Interestingly, this was working seamlessly in HorizonOS v71 without any additional setup. However, after updating to v72—or in older versions like v63—the behavior reverted to what I described above.

I would greatly appreciate any advice or insights you can offer.

Test Environment:
The issue occurs in a simple scene where UI buttons are placed, using either the Built-in or URP render pipeline. Tested with Unity versions 6000.0.28 and 2022.3.22.

Thank you in advance for your help!

2 REPLIES 2

robertcoomber
Expert Protege

I am noticing the same exact issue. I have found that using direct touch (actually bringing the window close to you and pressing it with your virtual hands) does work as expected. Also if you connect a bluetooth mouse they also get input events correctly. But controller rays do not properly send, hovers, clicks, drags, etc to the unity 2D app. I am investigating why this is.

robertcoomber
Expert Protege

Additional notes, I tried doing new and old input systems and both are behaving the same way.

Also, I've also noticed resizing the window is quite bugged as well. If you leave all the default orientation settings in unity with allow resize true, and try to resize the window to landscape, there are black bars on the left and right side of the window. 

Still need help?

Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.

If you need an agent to help with your Meta device, please contact our store support team here.

Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.

Check out some popular posts here:

Getting Help from the Meta Quest Community

Tips and Tricks: Charging your Meta Quest Headset

Tips and Tricks: Help with Pairing your Meta Quest

Trouble With Facebook/Instagram Accounts?