Fusion
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
Fusion: OnReliableDataReceived does not set offsets correctly?
WARdd
2022-06-07 19:05:30
I'm trying to send over large customization files over the network, as per advise I went with SendReliableDataToPlayer to achieve this. Now I'm trying to send a block of 1575 bytes, which usually arrives in 2 chunks, for example one of 1128 and 447.
I was under the impression that in the second block the received ArraySegment
I can work around this for now by just storing the offset value locally and resetting it once a data block is complete. Still this is a bit awkward to implement and I'm a bit worried about 2 different data getting mixed up if the different chunks arrive out of order. Does fusion prevent that from happening by default?
Comments
any update on that topic? came across same problem
Back to top