Disable top bar and mouse in VR

Hi, I’ve posted about this before but got no responses and I can’t find the solution!

I’m just trying to disable the Roblox logo when playing the game in VR. I currently do the following to remove most of the UI, but this one logo won’t disappear and it ruins the immersion.

game.StarterGui:SetCore("TopbarEnabled", false)
UIS.MouseIconEnabled = false
game.StarterGui:SetCore("VRLaserPointerMode", 0)
game.StarterGui:SetCore("VREnableControllerModels", false)
vrService:RecenterUserHeadCFrame()

Here’s how it looks in VR:


The Roblox icon stays on your screen when you look around, and the XBOX mouse dot sometimes appears when pointing your right controller and tilting your head in a specific direction.

Any solutions would be greatly appreciated. I’ve played games like VR Hands and never had this issue so it must be solvable! Thanks.

(I’m using an Oculus Quest, FYI)

1 Like

here is a code

game.StarterGui:SetCoreEnabled("TopbarEnabled", false)
UIS.MouseIconEnabled = false
game.StarterGui:SetCoreEnabled("VRLaserPointerMode", 0)
game.StarterGui:SetCoreEnabled("VREnableControllerModels", false)
vrService:RecenterUserHeadCFrame()

You Should Use Enums Instead Of Strings In order to know what you are disabling

1 Like

Maybe try setting game.Players.CharacterAutoLoads to false. This is just a guess btw, and I love your games!

Did you ever figure this out? I’m having the same issue.

1 Like

Hey, sorry for the necro, but I figured out a solution for it.
Basically, all the GUI for VR sits in a Folder in the camera, the specific panel for UserGui isn’t always added right away, so you’ll definitely have to wait for it.

First solution would be to use a custom character without a Humanoid. that’ll get rid of all the default Roblox Gui stuff like menus.

The other solution is to wait for that specific panel to be added to the camera folder, and resize it to 0,0,0
And sometimes because roblox like to be funny, it’ll reset itself, so you can’t rely on resizing it once.

Personally i use this code in my games like edgeworks:

if Cam.VRCorePanelParts:FindFirstChild('UserGui') then
	Cam.VRCorePanelParts.UserGui.Size *= 0
end
5 Likes

Awesome! My headset no longer actually works with Roblox for some reason but I know that you know what you’re talking about so will assume it works. If anyone else wants to double check though that would be great.

2 Likes