VR Core UI gets deleted when I spawn in my game

I recently added VR support to an older game of mine (which means it has alot of questionable code practices), and I encountered this bug, where whenever I spawned into the game, the VR core UI (escape menu, the hotbar) get instantly deleted.

I can’t check the error that might be causing it, since the escape menu is gone.
Here are some of the latest errors I’ve got around anything VR related:

The only VR core UI code I’ve added is this, but the issue remains even with these lines commented out

game.StarterGui:SetCore("VRLaserPointerMode", 0);
game.StarterGui:SetCore("VREnableControllerModels", false);

I am not sure if this is an error with my code, or something on Roblox’s side.
Has anyone encountered this bug?

Do you think you can send the whole code so I can see if I can help with anything?

Forgot to edit the post, but I fixed it

The issue was one of the questionable scripts that cleared all the camera children everytime you switched guns lol

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.