Question by
Doghelmer · Oct 18, 2016 at 09:59 PM ·
networkingclient-server
Sending an array of ints through ClientRPC (or some other way?)
I need to send an integer array to my clients on the network. This is how I've attempted it:
int[,] myArray = new int[100,100];
//...Fill Array ...
RpcSendArray(myArray);
This gives me the message: "UnityException: NetworkWriter used buffer is too big!"
I wouldn't need to send this on a regular basis -- maybe only once per session. What would be the best way to go about sending this data to a client?
Comment