VR/Virtual Reality doesn't work

Hello.
I am making a VR game in roblox.
But I can see an error.
What is this?

This is a script(Localscript in StarterGui)

local UserInputService = game:GetService("UserInputService")
local players = game:GetService("Players")
local player = players.LocalPlayer
local character = player.CharacterAdded:Wait()
local head = character:WaitForChild("Head")
local function TrackHead(inputType, value)
if inputType == Enum.UserCFrame.Head then
    	head.CFrame = value
    end
end
     
if UserInputService.VREnabled then
    head.CFrame = UserInputService:GetUserCFrame(Enum.UserCFrame.Head)
    UserInputService.UserCFrameChanged:Connect(TrackHead)
end

Put some prints in random spots to debug, and come back :slight_smile:

1 Like

Where do you define “UI Message” The code you’ve supplied shows 0 errors.

1 Like

I played without any scripts but it still displayed

Oh then its most likely one of the roblox CoreGui scripts and is nothing to worry about

Does it break your game at all?

1 Like

no but i wanted to understand what is that

1 Like