StreamingEnabled causes some parts to never load in

Hiah. I’m developing a survival shooter with a few friends. We’re using quite a bit of terrain so we switched on StreamingEnabled to reduce load time. We found that sometimes when objects that are far away come near the player, they never get loaded on the client. Here’s an example:

image
image

Both of these cars were a few thousand studs away from the players when they joined. They are not loaded in for them when they come near. However on the clients of the players who spawned near the cars, there is no error; All the parts are loaded.

[Edit]
Seeing as this needs more information to be considered a bug report. Here you go.

Basics

  • Where the bug happens - Happens in many StreamingEnabled places
  • When the bug started happening - From when I enabled StreamingEnabled
  • Screenshots and videos of the bug - Provided above

Reproduction Steps

  1. Join Game
  2. Walk a few thousand studs
  3. Look around and see that things are not loaded properly

:warning: Required Information

  • Crashes or Freezes -None.
  • Performance Problems - None.
  • Problems running Roblox / Studio or error popups - None.
  • Graphics Problems - None.
  • Problems specific to a Place / User / Group / etc - Not limited to a specific place.
  • Backend Problems (e.g. Team Create connection failures) - Nothing that I can provide information on.

Game in question (Though this is not a game-specific issue):
https://www.roblox.com/games/4728250024/The-Game-with-the-Things?refPageId=784e32c9-a40b-4761-ab18-29611ef3ac70#!/game-instances

2 Likes

Not sure if this is related https://developer.roblox.com/en-us/resources/release-note/Release-Notes-for-423
“Fixed an issue with streaming enabled that occurs when child parts are moved before parent resulting in the child part not being streamed in.”

Related: Vehicles not getting streamed in/out correctly - #10 by Ultimate_Miner64

Same issue happens for a lot of games, usually with car wheels

2 Likes

Can you share some more information on how to reproduce this problem? Does it happen on all platforms, or only on mobile devices (for example)?

For the problematic vehicle(s), are all the parts in the vehicle in the same model? Is anything parented to parts located elsewhere?

I joined the game on a Windows machine and explored until I found multiple vehicles, including the green truck shown in the bug report. All the vehicles appeared and drove normally for me.

Thanks for checking in @CorvusCoraxx

I have not tried Mobile. Our game is PC and XBox only at this moment. If you’d like a copy of the game file I’d be more than happy to DM it to you. Here is the structure of the car via explorer:

So to answer your question, no. Nothing is parented outside of the vehicle. All of its components are descendants.

I’ve noticed it playing as the only player in the server, and when playing with friends.

Perhaps this could be network-quality related? I was playing with a few friends from EU earlier, but we were on a US server; That’s to say, it is not consistently reproducable. And for each client the effect differs. In the screenshot in the OP where there is 4 wheels with no chassis, on my client I could see the chassis, but only 3 wheels. We had 3 players playing when that shot was taken. We also joined at different times, so one player was driving while others were loading.

1 Like

If you could share a copy of the place file that shows the problem that would be helpful. And anything you’ve observed that causes the problem to happen more frequently.

Are you doing anything unusual like creating welds on the client, or client side tagging?

Sent you a copy.

The welds are created on the server.

I don’t want to say this definitively, because I don’t actually know, but it appears that the problem is more apparent when the vehicles are in motion OUTSIDE of the clients streaming region.

That’s to say that if I am on one side of the world, and my friend is on the other, if he drives to me, the problem has a higher probability of occurring.

I reproduced the problem, using the suggestion about moving when outside. This problem should be fixed by the bug mentioned in the release notes:
“Fixed an issue with streaming enabled that occurs when child parts are moved before parent resulting in the child part not being streamed in.”

I hope to turn on that fix tomorrow and I will report when it is active so you can retest.

2 Likes

That’s great news. Thanks for the update.

I’ve enabled the fix and it solves the problem for me in Studio. Please retest and let me know if you are still seeing the issue.

2 Likes

Appears to have been fixed. I haven’t noticed the issue a single time.

2 Likes