After attempting to use StreamingEnabled for my flight simulator, we noticed that loading times (waiting for PersistentLoaded) are incredibly long - also this is increased by the amount of players that have joined the game.
Furthermore, when loading in aircraft from ServerStorage, in order for our aircraft system to function we have to repeat wait until the aircraft is loaded, but this simply takes a ridiculous amount of time with StreamingEnabled and 10+ players in the server, sometimes 2/3 minutes+.
With our own chunk loader (spawning airports in and out of ReplicatedStorage), aircraft load almost instantly with the exact same conditions. However, this uses more memory, is worse on framerates etc etc.
local Response, Aircraft = ReplicatedStorage.RemoteFunctions.Misc.CheckPlayer:InvokeServer(
Mechanics.Values.SelectedAircraft.Value,
Mechanics.Values.SelectedLivery.Value,
Mechanics.Values.SelectedColour.Value,
Mechanics.Values.SelectedAirport.Value,
Mechanics.Values.SelectedGate.Value
)
print("SpawnerServer Response", Response)
repeat task.wait() until Response
print(Response, "Aquired", Aircraft)
repeat task.wait() until Aircraft:FindFirstChild("PilotSeat", true)
task.wait(5)
Above is the loading process for aircraft spawning (locally)
If anyone has any advice, we would greatly appreciate it.
One thing that stands out to me is the (extremely) high minRadius. I think that could cause issues on lower performance devices.
In your OP, you mentioned you’re waiting for PersistentLoaded. Did you adjust this?
If not, then you’ll be waiting for the entire model, and not just the seat.
Can you show the code snippet that waits for the plane?
replying for him lol, I am also a developer for his game, the code snippet which he provided is what waits for the aircraft to load in, We can reduce the minimum streaming radius however this isn’t good on our end as islands will spawn in at a very short distance and is more inconvenient
Ok, if you’re thinking it’s a streaming issue, it might be helpful to remove many parts of the model.
Reducing the complexity can help you figure out issues on your side. If reducing model complexity magically solves it, then it’s an internal bug with streaming (unlikely).