Sending bulk data via rpc

I'd like to send large chunks of bytes via RPC to my clients. This could be as much as 256k at a time. It's not constant, just at certain times.

It doesn't look like RPC has the ability to just send a byte[] array of values, so I've looked at converting bytes into a string.

Is there a better way to send this information to the clients, from my server? A key qualifier of "better" to me is ease of use. The RPC feature in Unity looks very easy to use, so I don't mind the string->byte->string conversion if it means avoiding a much more complicated way of sending the data.

This is an old question, but it is absolutely possible to send byte arrays with RPC - it’s just not a documented feature. I am currently using it to transmit images between networked Unity instances (after encoding to jpg or png), and it has worked fine for 10k up to 300k transfers, though note that RPC seems to buffer the calls, meaning that if you’re sending data faster than the pipe can handle or the receiving function can process you’ll get farther and farther behind as time goes on - you may want to include a timestamp header on your data transfers and throw away RPC calls when they get too stale.