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.