A weird visual bug with streaming enabled

Hello. I am making a game about space exploration and I tried to use streaming to boost my performance, but I’ve got a weird visual bug with Moon (and maybe it happens with other objects too, but I didn’t test it yet). If I place down an atmosphere creator on a Moon It disappears and a low-poly model of it appears on V3(0, 0, 0).
Video - 2024-10-01 14-19-02.mp4 - Google Drive

Expected behavior

The moon DOESN’T disappear and the atmosphere is slowly getting bigger, it DOESN’T disappear too (the bug is happening only when streaming is enabled)

2 Likes

Are you able to provide a simple repro place?

Are you using Model LoD? Are you making local only changes to the moon when the problem occurs, or are you changing it on the server? (I assume the atmosphere creator is changing something about the moon.)

P.S. this game has <100 visits because it is already a testing place
Moon’s LoD is set to streamingmesh. I’m making changes on the server side, the atmosphere creator creates a part inside of a Moon, then welding “Planet” and “Atmosphere” together (Moon contains rocks, that are created on server side and welded to the “Planet” too, but they don’t cause this bug). I will just provide you a speed boost for easier movement and money for the atm creator in my script.

And here’s another screenshot:

Uh oh, I found another problem (the ship started to make “spirals” and bugging its’ position):


And another, but I didn’t take a screenshot, it was too late. Basically the Earth just flew away at a very high speed (with moon) when I got to “Magma planet”

Can you create a simple repro place that, for example, just has a moon and attaches an atmosphere to it? If you can send something like that to me privately we can better investigate the issue.

Okay I got you
Here I re-created it:

Here’s the screenshot again, the bug occurs too:


In fact, when I place a spawn far away from the Moon, it renders like it should be.

Can you still reproduce the issue? I’m not seeing it on your testing place.

yes, when I join I see the low-poly Moon
But sometimes everything looks fine

Can you send me your repro file via a private message?

Can you share what the streamed radius is when the problem appears vs when it does not?

If you are on a PC/Mac you can bring up a streaming debug UI on the client via:

Shift-F3, then Shift-1 four times

You should see something like this:
image

I’m curious of the value of the current streamed in radius.

When the problem doesn’t appear:


When the problem does appear:

Also when it appeared, after some time everything looks fine: