Is there a way to exclude models from Streaming?

Hello there,

I’m making a City game, and it’s going really well.

Of course, just like (hopefully) anyone else, I was worried about performance as I have a big map, hence I enabled Streaming.

I experimented around with the different Level Of Detail options, but none seem to be able to exclude a model from streaming.

Essentially what I mean is that if one selects the option, let’s call it “Excluded”, then the Model won’t change it looks, regardless if Streaming is enabled or not.

Tell me if this was unclear.
Is there an option to do that?

Thanks.
PS: Tell me if it’s in the incorrect category.

1 Like

I don’t think there’s an option for this. What you could do is place your visual model in ReplicatedStorage and parent it to Workspace as soon as the client finds it.

2 Likes

I hope there is a way that Roblox will implement this in the future. Thanks anyways, but I’m total garbage at scripting.

It’s quite simple:

--LocalScript preferably in StarterPlayerScripts
local ModelName = "Building" --replace with the name of the model that you want

local ReplicatedStorage = game:FindService("ReplicatedStorage") or game:GetService("ReplicatedStorage")

local model = ReplicatedStorage:WaitForChild(ModelName, 15)
if not model then warn("Timeout") end
model.Parent = workspace
1 Like

Is it possible to add multiple models to this?

Yes, of course you can. There is no model limit.

1 Like

Thanks for the clarification.

30karakters

Can’t you use requeststreamaroundasync in chunks to implement this?

https://create.roblox.com/docs/reference/engine/classes/Player#RequestStreamAroundAsync

1 Like

You can but that would likely reduce performance. Additionally, it isn’t always reliable, as shown in the documentation:

1 Like

Yeah, reducing performance isn’t really what I’m looking for… Quite the opposite :grimacing: