Is it a good idea to pass instances through remotes?

i have been putting together a framework recently, and parts of it does rely off of passing instances through parameters for client to server communication. are there any downsides i should probably be aware of?

3 Likes

You shouldn’t run into any issues. RemoteEvents and RemoteFunctions are built to send instances through them.

The description about what can be passed is present across RemoteEvents and RemoteFunctions.

4 Likes

Yes, as long as the instance is not client sided. If it’s client sided, nil is passed instead.

1 Like

thank you for your reply! this is definitely not the first time i didn’t look at documentation first… @Prototrode

2 Likes

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