I am one of the lead developers for Refuse 2 Die. Lately, our users have been reporting that on some maps during gameplay the geometry will just flicker in and out of view. Pieces of the map, their player characters, everything.
Not sure when this started happening, it happens mainly on one map but users have reported it for other maps as well.
Our game does not use StreamingEnabled either if that is any information that will help.
Here is a clip from one user and you can clearly see the geometry keeps flickering in and out for seemingly no reason.
Most users are reporting it happens even on max graphics settings.
Video & Images
(The hole on the left in the wall is not supposed to be there)
This could be the source of this issue: Unpatched rendering bugs related to NaN or Infinite values
They told me it wasn’t worth fixing. When occlusion culling was added it was also made a lot more flickery when you move your camera, like shown in the clip.
Hi I managed to repro this on my machine.
Here’s a few clips (the dex explorer is a command admins+ are given, not using any exploits)
I adjusted our camera system (it’s ancient & based on Reason 2 Die’s Camera script) to set the Camera.Focus as CFrame.new(camera.CFrame.p) and still no luck.
Notes: this only happens on the client! I couldn’t get this to happen in studio at all. Ignore the nodes in the Workspace, that is our NodeGraph for our pathfinding system.
The microprofiler capture showed no abnormalities.
You should not have to set Camera.Focus. It derives from the CameraSubject as long as the CameraType is not set to Scriptable.
(Which, in your case, is set to Custom, and the subject is the Humanoid. I assume you reverted after said adjustment)
This is also worth looking into through the Find All / Replace All function, which can be enabled in the View tab of studio.
Specifically, the drawcall to this calculation:
local a = Instance.new('Part', workspace)
a.Transparency = 0.5
a.Anchored = true
local b = Instance.new('SpecialMesh', a)
b.Offset = Vector3.zero / 0 -- This produces NaN
--[[ The goal is to find anything that might
produce NaN within the map model ]]
It is more likely that a NaN value ending up in draw calls from your scripts or special effects is causing this issue rather than the default engine behavior.
This mimics the flickering and instability seen in your original clip.
A little disappointing that Roblox has not implemented a patch for the clear issue in @Vixienshy 's bug report, despite it affecting front-page games.
If you need further help diagnosing or locating the root cause, feel free to mention me here, or add me on Discord (@signalsupport).