I am developing a multiplayer AR game based on this repo https://github.com/Unity-Technologies/arfoundation-samples/tree/main/Assets/Scenes/ARKit/ARCollaborationData and this demo https://developer.apple.com/documentation/arkit/creating_a_collaborative_session?language=objc
When I had two devices in the game, everything was good. But when I increased the number of devices to four, the devices got over-heated quickly and the network got jammed very often. Since it is a peer-to-peer network, each device send its ARCollaborationData
to all other devices every frame, I don't know if MultipeerConnectivity is capable of handling such amount of data in realtime with low energy consuming.
I have tested the Round Trip Time of MultipeerConnectivity in this question https://developer.apple.com/forums/thread/694882, and found it is not very stable for a realtime game.
My question is that, is MultipeerConnectivity a good choice for a realtime AR game with more than 4 devices? I know Airdrop is implemented using this technology, so I guess maybe it is designed for high throughput instead of low latency and stability? Should I use another network solution like Photon-Realtime?