How to not replicate instance to the client?

(Streaming)
Is there a way to stop instances from being replicated to the client automatically?
Because we have large map, it would be nice to switch to manual replication cause the automatic one can cause a lot of lag in our case.

The goal

  • still be able to raycast on the server
  • the server-sided physics should work

Have you tried using ServerStorage?

only one method i can think of is to store the instance in server storage, then either fire a remote evnet on the client to request that instance, or get a flag server-side to know if the instance should be repliacted

i mean, we still need it to be on workspace cause we have weapon system that requires raycasting :sweat:

Parent it to Workspace.CurrentCamera, it doesn’t replicate stuff created on the server there but it’s still workspace

hmm, that’s interesting, but will it work with raycasts?

I have an idea but no idea if this could work.

WorldModel seems to have a Raycast method, maybe try working with that?

Edit: I meant while the WorldModel is inside the ServerStorage.

i’m gonna test all ideas from here. Including parenting to the world model.

1 Like

Just to show what’s going on :pray:

  • tycoon deloading by streaming