How to Prevent Joining a Room

It is possible to create a room which isn’t joinable by members other than the room owner. To do so the owner should create a room with isJoinable property set to false.

StrixNetwork.instance.CreateRoom(
    new RoomProperties {
        name = "New Room",
        capacity = 4,
        isJoinable = false
    },
    new RoomMemberProperties {
        name = "Player name"
    },
    args => {
        Debug.Log("CreateRoom succeeded");
    },
    args => {
        Debug.Log("CreateRoom failed. error = " + args.cause);
    }
);

As a result, the room will be created with only one member, which is the room owner, and other players cannot join this room. After finishing whatever preparation there, the room owner sets isJoinable to true (most likely by SetRoom method) to allow other members to join.