[PUN CLASSIC] Sharing Hololens World Anchor with Photon
Options
Hello,
I'm trying to share a Hololens World Anchor with PUN CLASSIC.
It is composed of an array of bytes of several Mbs and I seem to be unable to pass it with RPCs. Since I read that the Photon Cloud doesn't allow arguments of RPCs to be more than 0.5Mb in size I'm hosting my server with the provided Load Balancing application.
What I did was initially to try to share each chunk (array of bytes roughly 2Mbs in size) with an RPC but I ended up disconnected from the server.
Then I tried to split the chunks even more to pass an array of 1150 bytes with each RPC but I end up getting disconnected from the server again after (successfully) sending the last part.
These are my errors:
Receiving failed. SocketException: TimedOut
OnStatusChanged: ExceptionOnReceive current State: Joined
SocketTcp.Disconnect()
OnStatusChanged: TimeoutDisconnect current State: Disconnecting
Can't execute Disconnect() while not connected. Nothing changed. State: Disconnecting
SocketTcp.Disconnect()
OnStatusChanged: Disconnect current State: Disconnecting
I am using TCP in the PhotonSettings.
If anyone could help me, I would be very grateful
Thank you in advance.
I'm trying to share a Hololens World Anchor with PUN CLASSIC.
It is composed of an array of bytes of several Mbs and I seem to be unable to pass it with RPCs. Since I read that the Photon Cloud doesn't allow arguments of RPCs to be more than 0.5Mb in size I'm hosting my server with the provided Load Balancing application.
What I did was initially to try to share each chunk (array of bytes roughly 2Mbs in size) with an RPC but I ended up disconnected from the server.
Then I tried to split the chunks even more to pass an array of 1150 bytes with each RPC but I end up getting disconnected from the server again after (successfully) sending the last part.
These are my errors:
Receiving failed. SocketException: TimedOut
OnStatusChanged: ExceptionOnReceive current State: Joined
SocketTcp.Disconnect()
OnStatusChanged: TimeoutDisconnect current State: Disconnecting
Can't execute Disconnect() while not connected. Nothing changed. State: Disconnecting
SocketTcp.Disconnect()
OnStatusChanged: Disconnect current State: Disconnecting
I am using TCP in the PhotonSettings.
If anyone could help me, I would be very grateful
Thank you in advance.
0