How world I go about making a VR compatible surface gui?

I want to make a vr compatible surface gui for my VR game so I can use a menu

Just using a surface gui itself doesnt seem to work with VR so im trying to think of work arounds

I have tried to make my own gui api but nothing is working out in my head

Please let me know about anything thanks! :slight_smile:

1 Like

Here’s everything you need to know about the VR service, for now.

1 Like

I have already looked there but nothing helped

Surface GUIs dont render under VR.

I know you were expecting some magic but its the sad truth. Hopefully we get support for it soon



This is blatantly false, unless you were somehow referring to this bug that persisted for a while. Even then though, you could work around it by parenting a SurfaceGui to PlayerGui and setting its Adornee.

Regarding the OP’s question though, you should just be able to use TextButtons/ImageButtons/what-have-you and be able to “click” them by pointing at them with your hand and hitting the trigger. If that isn’t working (or they aren’t even highlighting), and MouseButton1Click isn’t firing, your VR set may be having compatibility issues with Roblox.

3 Likes

They do you just cant interact with them

Edit: oh just noticed someone already said

Then how would i go about making it interactable

Also i might be being stupid here because i used a server script inside the button that detects it and im thinking that i should of used a local script instead is this why? (i wouldnt usually ask. im only asking as roblox is kinda, yknow)

Im going to use raycasts and parts inside of folders for the ui this should work