Ui-vr

Original Discord Post by renysanches | 2024-10-20 21:17:14

Hi everyone! I’m having a problem in my VR project in Unity (version 2022.3.5f1). I created a canvas with buttons to switch images, similar to a slider, but the buttons are not active, and I can’t click on them. Also, when I switch the XR Rig, the UI doesn’t appear correctly in the game, even though the canvas outline is visible in play mode. Does anyone know how I can fix these issues? Thanks in advance for any help!

Reply by k3kalinix | 2024-10-20 21:27:03

Hello <@1105935532917272666>,

Reply by k3kalinix | 2024-10-20 21:27:26

This is not related to Convai but i can help.

Are you using XR Interaction Tool kit?

Reply by renysanches | 2024-10-20 21:37:32

yes, I am

Reply by renysanches | 2024-10-20 21:42:45

please, help me rsrsr

Reply by k3kalinix | 2024-10-20 21:45:34

Click on your canvas, add XR Tracked Device Graphic Raycaster component.

Reply by k3kalinix | 2024-10-20 21:45:44

And make sure to use World Space canvas.

Reply by renysanches | 2024-10-20 21:48:55

yes, that’s ok World space canvas

Reply by k3kalinix | 2024-10-20 21:50:15

That’s it.

Reply by renysanches | 2024-10-20 22:00:24

only this?

Reply by k3kalinix | 2024-10-20 22:03:29

What do you mean?

This conversation happened on the Convai Discord Server, so this post will be closed.