RemovePersistentPlayer doesn't stream out?

Video above shows that my model isn’t being streamed out when RemovePersistentPlayer is called. I need some help figuring what I may be doing wrong here. Maybe I don’t have the correct settings or am just not understanding how streaming works?
I’ll attach a file copy of the place file & the code snippet.

game.Players.PlayerAdded:Connect(function(player)
	print(player, "joined!")
	local countdown = 10
	
	while countdown > 0 do
		print(countdown)
		countdown -= 1
		task.wait(1)
	end
	
	print("Starting")
	
	local model = game.workspace.Wall
	
	model:AddPersistentPlayer(player)
	
	
	print("Streaming now!")
	
	local countdown = 10

	while countdown > 0 do
		print(countdown)
		countdown -= 1
		task.wait(1)
	end
	
	print("Removing stream now!")
	
	model:RemovePersistentPlayer(player)
end)

File:
StreamingTest.rbxl (53.6 KB)

Make sure to set the StreamOutBehavior to “Opportunistic”. The default is “LowMemory”, which only streams out when memory is low (prioritizing based on distance).

image

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.