When initiating a playtest in VR, the game will load in as if all VR accommodations are ignored and game:GetService("VRService").VREnabled
returns false within the first frame of runtime.
All scripts that do VREnabled
checks seem to return false as none of the functions within VREnabled
checks are initializing, which may be due to VREnabled
returning false in the first frame where most of these scripts check for the value.
A default Roblox VR script returning an error seems to be the cause:
System Information:
OS: Windows 10
VR Headset: Quest 2
GPU: Nvidia RTX 3080
CPU: AMD Ryzen 5600x
RAM: 16GB
Expected behavior
The game should load in the VR rig and other VR accommodations, which are validated with a VRService.VREnabled
check, instead, it loads in the “stock” VR mode: