Is it possible to limit the number of players in multiplayer?

Include the following details (edit as applicable):

  • Issue category: Multiplayer / Networking
  • Device type & OS version: Android 11/12
  • Host machine & OS version: Windows
  • Issue Environment :
  • Xcode version:
  • ARDK version:v1.1.0
  • Unity version:2019.4.35f1

Description of the issue:

I’m trying to make an AR game that 2-4 people can connect and enjoy lightly.
The recommended number of players for multiplayer is 5.

I don’t know which script to look at to limit the number of people who can connect when making a game.

I’m looking at the ARNetworking scene and the PongHLAPI scene in the example, but I don’t know which part of the script or code can control the number of people.
I hope you can help on that part.


1 Like

Hi Dongho, the easiest way to limit the number of people joining per session is to implement your own method to do so. There are currently no APIs to cap the number of participants on the server side.

Thank you for answer!