Hi,
I’m using RPC (networking legacy) in order to send data from a server(WebPlayer) to a client (Android) on a LAN. Server and client are at two completely different unity projects. There’s only one C# file in common; the one with the RPC functions. I don’t need any kind of synchronization, player spawning, etc. I just need to send chunks of data (always bigger than 64kb each) from the server to the client. It’s working fine using the NetworkView component (which now is marked as deprecated).
I would like to move to the new networking system. The manual says: ‘ClientRpc calls are sent from objects on the server to objects on clients. They can be sent from any server object with a NetworkIdentity that has been spawned’. As I’m using different projects for server and client, I don’t see how to match this requirement.
I could use the NetworkTransport functionality, but the maximum size for sending is 2^16-1 bytes; I should need extra code to split the chunks in the server, and then the client should need to join the parts. With the RPC functionality this is transparent.
So, is there any work-around in order to use the remote procedure calls with the new networking system in this context?
Regards,
Roberto.