Search Unity

Resolved ValidationError calling JoinLobbyByCodeAsync

Discussion in 'Lobby' started by hasseyg, Oct 18, 2022.

Thread Status:
Not open for further replies.
  1. hasseyg

    hasseyg

    Joined:
    Nov 16, 2013
    Posts:
    82
    Hi, when calling JoinLobbyByCodeAsync and passing the lobby code, I receive "ValidationError, (16000). Message: request failed validation". I have seen the other forum post related to this and I have printed out each character of the string and there are no extra characters in the string, so I really don't know what the problem could be. I am taking the string from an inputfield that is limited to 6 characters and can only have capital letters and numbers input from a custom in game keyboard.

    Has anyone else run into this problem?
     
  2. hasseyg

    hasseyg

    Joined:
    Nov 16, 2013
    Posts:
    82
    Hi, just to update that I have now solved the problem. I was unaware that there are seperate lobby and relay codes. So the problem was I was displaying the relay join code instead of the one for the lobby.
     
    bartj-unity likes this.
Thread Status:
Not open for further replies.