MirrorNetworking / Mirror

#1 Open Source Unity Networking Library
https://mirror-networking.com
MIT License
5k stars 750 forks source link

The client cannot join the game after the host starts the game #2974

Closed SingcoLee closed 2 years ago

SingcoLee commented 2 years ago

Dear author, with NetworkRoomManager, when the host creates a room and the game starts, the client cannot join the room. My requirement is that after the room is created, the client can join the room and play the game independently according to the demand, instead of the host computer starting the game after all preparations are completed. Looking forward to your reply

JesusLuvsYooh commented 2 years ago

That mirror room example is made to not allow late joiners. Every other example allows it fine, and mirror by default does too.

If you want a room with late joiners, use that current room as inspiration, but not its code.

MrGadget1024 commented 2 years ago

As documented, Room system doesn't allow late joiners. Closing.

SingcoLee commented 2 years ago

So, are there any fields or properties in NetworkManager that control whether clients can join or not?

MrGadget1024 commented 2 years ago

NetworkManager just has max connections. This isn't the place for support. Please join our Discord.