For no apparent reason, sometimes when I play my game, it experiences INSANE visual artefacts that HUGELY impact gameplay. This happens both in-game and in-studio.
This is an absolutely gigantic issue and I have zero clue as to why it happens. I’m fairly certain it’s not a fault of any scripts and there’s most likely no viruses in my game (I never use free models but I have a few plugins) Please let me know if anyone knows what causes it and how to fix it.
Very odd that your character doesn’t move correctly in the glitches GIFs, is this a published place? And if so, can you try to download a older copy of the game and test if the graphical glitches occur
It almost looks like Roblox is trying to discard objects from rendering because it thinks they might not be “visible”.
I recall the camera in workspace has a second property the focus property.
Have you tried checking it’s CFrame and LookVector and see where it’s at?
This might sound weird and unrelated but I just remember that Roblox uses the focus property to determine what has priority in rendering.
Have you tried any free models from the toolbox?
Have you recently installed any new plugins?
Does anyone else have access to the game through Team Create? If so they may have inadvertently installed a model or plugin that’s affected the game.
Does it happen to other players now?
That’s pretty weird. I’d check on the client if the parts are just visually disappearing, that would cross off streaming and maybe some script problems.
I would try turning off streaming enabled (property under Workspace) and see if it still happens. (It doesn’t look very much like stuff streaming out though.)
Update: Haven’t experienced this glitch for a while now. Still have no idea what caused it but I think it’s related to my laptop overheating and frying my graphics card. lol.
For context, ‘Gyro’ is an AlignOrientation and the goal was to have rotation using AlignOrientation in my custom animate script so it’s smoother and I can change the speed of changing directions when swinging a weapon.
100% of the time, removing this specific line will stop the visual glitches.
This also wouldn’t explain why setting the CFrame of the AlignOrientation would make it glitch out like that, I even set the CFrame similarly just a few lines above it.
I fixed the issue. For some reason using CFrame.lookAt can return very strange and long CFrame values which seems to cause issues to do with streaming. I tried disabling streaming but that didn’t work, so I tried instead to shorten the abnormal numbers using math.round.