Table of Contents

JoinCode

A code that players can use to join this lobby.

Returns

string
A code that players can use to .
Remarks

Password verification is skipped when joining through a join code.

Codes are unique among your project's open lobbies. Creating a lobby with a join code that already exists fails with Coherence.Runtime.ErrorCode.LobbyJoinCodeTaken. The code is fixed for the lobby's lifetime, and freed for reuse once the lobby closes.

coherence Cloud currently accepts codes from 6 to 32 characters long, without null characters, and fails creating the lobby with Coherence.Runtime.ErrorCode.LobbyJoinCodeInvalid otherwise. It doesn't check what the characters are, so pick an alphabet and a length that make guessing an open lobby's code impractical.

Pair it with Unlisted for a lobby only people with the code can find.