- Home /
Unity 5 Networking Stream file or bulk data to client.
Due to the nature of my game, when the client connects they will often be sent a "large" amount of data (~0.5 - 1MB) and it's structure is essentially a binary file that should be compressed.
What's the best way to go about sending this data with the new UNet system? I assume I should use a QOSType.ReliableSequenced
channel as I've read here that it is analogous to a TCP stream and should be used for sending files.
Is it my job to break up the data into packets by the max packet size and send them individually or is there a less involved way? If I do it myself I will have to be cautious of the ConnectionConfig.MaxSentMessageQueueSize
which defaults to 128.
Your answer
Follow this Question
Related Questions
uNet horrible lagg (even on local servers) 0 Answers
Chat system is not working 1 Answer
uNet Offline and Online Scenes the Same 2 Answers
Unity Multiplayer Can't Connect LAN On Separate CPU's 2 Answers
How do i share data between computers 0 Answers