When changing CurrentCamera to scriptable in first-person mode, Player disappears

It seems that when I try to change the currentCamera to scriptable when being in FirstPerson, Im unable to see my player’s character. The only way I notice the character movement is by selecting him from explorer (in runtime mode).

You can recreate it by

  • Run the game
  • Put your camera in first person mode by zooming in
  • Run this code in console
local cam = workspace.CurrentCamera
local head = game.Players.LocalPlayer.Character.Head

local HeadPos = head.Position
local TotalPos = HeadPos + head.CFrame.LookVector * 3 + head.CFrame.RightVector * 3

cam.CameraType = Enum.CameraType.Scriptable
cam.CFrame = CFrame.new(TotalPos, HeadPos)

As expected, the character will go invisible, however u can still see the rootpart hitbox by clicking on the character via explorer

2 Likes

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

1 Like

I get this too, it messes up my Cutscene player and thus messes up UX.

1 Like

Workaround:

for _, obj in character:GetDescendants() do
if obj:IsA("BasePart") then
obj.LocalTransparencyModifier = 0
end
end

it has always done this and is known behavior.

1 Like

Thanks, but i couldnt find its behavior documented anywhere thus considering its an engine bug

Circling back here - this is by design, player doesn’t show in fp. Gonna close it out. Thanks for the report!

1 Like