Under what circumstances can an Instance be paseed through a Remote to client?

When dynamically creating Instances, when does it “exist” in terms of passing it through a Remote?

Is there a guarantee that when I pass a descendant of a newly server-side created Instance to the client, it will not be nil in the Remote listener? Is there a guarantee for only the root object but none of its descendants?

Is this dependent on the normal rate of replication being 60 hz, but only 20 hz for Remotes? I don’t want to rely on this.

This is all assuming the Instance is parented somewhere that replicates to the client automatically.

I believe that when dynamically creating instances server-side, there is no guarantee that the replication will be completed (that all of the descendants that exist server-side will exist on the client) before some parts of the Instance’s hierarchy are available to the client. This is why I want to know how that relates to Remotes.

1 Like

This reply has what you need: When to wait for replication to the client - #13 by KnightTakami

If you haven’t read that post yet, you should read through the whole thing. That post should be required reading for anyone caring about the details of replication.

1 Like

First and foremost, remotes should only be sent valid data. However, it may be worth to note that the server loads instances faster than the client. i.e A server is needed to run the instance of Game before the client can join.

Server-sided “Sanity Checks” are also nice.

Thanks. I had read the original post sometime, but had not seen the relevant reply about Remotes. Based on that, it seems that the root Instance can be trusted to exist in the listener, but none of its descendants.