ScreenGUI Dissapearing randomly when looking at certain angles

Note: This isn’t due to any scripts because the game just isn’t running at all and currently observed on studio while moving the camera to certain angle.


System Information:
Windows 11 Pro 24H2 x64
15.9Go Ram


Beta Features:
New luau solver
Haptic Effects
Live Animation Creator

Hey @MagicLuau , we took a look at the video and have a strong suspicion about what’s causing the UI overflow -

The issue may be that when you are viewing in certain directions, there are an enormous number of Text objects ‘visible’ (even though occluded by 3D models). We’ve seen similar cases in other experiences where over 80,000 glyphs are submitted for rendering, which could be causing the UI to overflow.
Here’s a recommended workaround: To test this theory and potentially fix this issue, you can set the MaxDistance of all SurfaceGuis with text to a reasonable number. In our past experiment, we ran this script in Studio, which successfully reduced the glyph count to around 700:

for _, instance in pairs(game:GetDescendants()) do
	if instance:IsA("SurfaceGui") then
		instance.MaxDistance = 100 // or whatever number makes more sense
	end
end

print("Successfully updated MaxDistance to 100 for all SurfaceGuis.")`

Please let us know if this helps. Meanwhile, we want to let you know that we’re aware of this type of issue and are actively working on a better UI streaming strategy that should prevent UI items from overflowing so easily in the near future.

Hey @MagicLuau , wondering if you’ve got any chance to look at the workaround we shared earlier above. We will go ahead and close the ticket if the workaround works for you! Please let us know if you have any more questions and concerns. Thank you!

just attempted and still experiencing a disapearing player screen gui.

do you mind sharing a minimal repro file? Thanks!

Sent you both in private message.