Fusion Out Of Memory error
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 Out Of Memory error
yjy020892
2022-04-29 00:59:26
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.
Comments
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
Back to top