Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Can't join Vivox voice channel after successful login

Discussion in 'Vivox (Voice & Text Chat)' started by bilelbellili, Aug 9, 2023.

  1. bilelbellili

    bilelbellili

    Joined:
    Aug 9, 2023
    Posts:
    4
    Hello, so after the maintenance for MT1S Environment announcement on 3rd August, joining voice channels is no longer working, the channels state goes from connecting to disconnected without throwing an error.
    Can you help me please, I'm testing on a build that was working before the maintenance but it is no longer the case after the 3rd.
     
  2. MurphyMurph_21

    MurphyMurph_21

    Joined:
    Jul 3, 2020
    Posts:
    73
    Are you using Unity's Vivox (UGS) credentials or Vivox Dashboard credentials. I had an error the other day when using Unity's credentials, but I switched my project to Vivox's credentials, and everything was working fine. I would try to test with Vivox credentials to see if it's a Unity issue or there is a bug in your code
     
  3. bilelbellili

    bilelbellili

    Joined:
    Aug 9, 2023
    Posts:
    4
    I tried both credentials, and the login is working but the joining channels are not. Also, I'm sure it's not a bug in my code because I have a build that was working before the maintenance but not the case after that.
     
  4. MurphyMurph_21

    MurphyMurph_21

    Joined:
    Jul 3, 2020
    Posts:
    73
    Could you post a screenshot of the error or paste the error text please. Also are you using the Chat Channel sample VivoxVoiceManager, EasyCodeForVivox, or your own custom scripts to implement Vivox. And if you could show me the code of how you are joining channels so I can better help you
     
  5. bilelbellili

    bilelbellili

    Joined:
    Aug 9, 2023
    Posts:
    4
    I'm using C++ within Unreal Engine, as I told you it was working perfectly before the last maintenance they did. This is what happens exactly when I join a channel:
    1. Connecting: StatusCode 0
    2. Disconnecting: StatusCode 20122 (VxAccessTokenInvalidSignature)
    3. Disconnected: StatusCode 20122 (VxAccessTokenInvalidSignature)
    And this is the code snippet for joining a channel:
    upload_2023-8-12_8-58-3.png
     
  6. MurphyMurph_21

    MurphyMurph_21

    Joined:
    Jul 3, 2020
    Posts:
    73
    Have you updated to the new Vivox SDK? Maybe this will fix the error
     
  7. bilelbellili

    bilelbellili

    Joined:
    Aug 9, 2023
    Posts:
    4
    Apparently, the GetConnectToken function is no longer working, so I moved the token generation server side and it's working again
     
    creepteks and MurphyMurph_21 like this.