Part Visibility Flickering

Hi everyone,

Apologies if this is the wrong subtopic to post this in.

In my Obby minigame, a part that I frequently tween the position of flickers after a couple of tweens, where the part is a couple hundred studs away from the spawn point.

Here in the video, you can see where this happens, if you look carefully you will see the part eventually turns completely transparent.

My game has no code where the part turns transparent at any point throughout the match. The part immediately turns visible once a player touches the part.

The part sometimes flickers the visibility on and off, similarly to Z-fighting.

Here’s a video showing the bug:

I would greatly appreciate it if anyone could help and provide me with any possible solutions to prevent this from occurring anymore! :slight_smile:

Try enabling streaming enabled or try disabling it. You can also try messing with a few of the setting with it. Seems to me to be some sort of roblox rendering bug.

I have StreamingEnabled set to enabled, wouldn’t disabling it cause a hit in performance though?

Streaming enabled takes the parts that aren’t visible to the player and unloads them and that’s most likely what is happening. So if you were to turn it off, all parts would be loaded in no matter if you could see them or not. This would impact performance memory wise. It really depends on how many parts you’ll have.

1 Like

Unfortunately, even with StreamingEnabled disabled, the bug is persisting. I didn’t notice the bug occurring again until today.

Here’s more footage, with a better idea of what happens:

You can see that once I touch the part, it stops flickering.

EDIT: This occurred a couple hundred studs away from the Origin

Yep, this is a pretty weird rendering bug, could you try just for testing purposes to place a floor underneath the platformers that are flickering out, like if there was going to be ground underneath, you can put it pretty far down try to bring it higher too until the flickering stops.

Other than that, if you have streaming disabled and there are no scripts affecting the part, this post should be move over to engine bugs.

What’s your streaming radius set to? it looks like parts are loading in as your player gets closer. Maybe your radius is too small?

It’s set to 64.

However, the recent video I sent was without using StreamingEnabled, so I’m not 100% sure it would affect it.

I placed a part that was a few thousand studs long, around 50 studs under the platform and I couldn’t recreate the bug anymore.

Although I’m not 100% sure that prevented it, since the bug is not that common and I cannot manually recreate it.

The bug only occurs with the platform in the video too, so I think it has to do something with the part’s position being tweened frequently

Alright, well if the bug continues after that fact then it’s probably some obscure bug with tweening, if that’s the case the use of lerp might be an alternative.