I have a prob for join random room

Options
I set the customprops.I get the room's customProps in room is right, but it is empty in outside.

print(inroom):Room: '00000000000000E0' visible,open 1/6 players. customProps: {level1=1}

print(out):Room: '00000000000000E0' visible,open 1/6 players. customProps: {}

So player can‘t join in room.
error:Operation failed: OperationResponse 225: ReturnCode: 32760 (No match found). Parameters: {}

Please for hlep.Thank you very much.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @SunnyCat,

    Please make the properties you want to be available from the "outside" explicitly visible from the lobby by setting their keys in roomOptions.CustomRoomPropertiesForLobby before creating the room.
    Example:
    roomOptions.CustomRoomPropertiesForLobby = new string[1] {"level1"};
  • SunnyCat
    Options
    @JohnTube mod
    Thank you very much . This problem is solved.