Fusion Out Of Memory error
Options
Nice to meet you
I'm doing throughput testing with Fusion.
use RPC
In testing, it was confirmed that the amount of packets that can be sent at one time is about 8150 bytes.
However, while sending a specific Byte (assuming 4096 Byte) from Update continuously, an Out Of Memory error occurred, but it did not occur in the host, but only in the client.
Is this phenomenon correct?
If yes, or if not, can you tell me why this is happening?
please let me know
thank you.
0
Answers
-
Hi @yjy020892 ,
What is the use case for sending this amount of data on the Update ?
RPCs are meant to be used for short and rare communication between peers, not for a stream of data.
If you want to send a block of data, you can use the Fusion Stream System:
- NetworkRunner.SendReliableDataToServer()
- NetworkRunner.SendReliableDataToPlayer()
- INetworkRunnerCallbacks.OnReliableDataReceived
--
Ramon Melo
Photon Fusion Team
0