Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Audiostate flips to disconnected

Discussion in 'Vivox (Voice & Text Chat)' started by PrecisionDave, Jan 16, 2023.

  1. PrecisionDave

    PrecisionDave

    Joined:
    Dec 15, 2022
    Posts:
    8
    Hi all -- is there any list of reasons why a users connection will just suddenly get the audiostate changed event to notify that it is now 'disconnected' -- ?
     
  2. MurphyMurph_21

    MurphyMurph_21

    Joined:
    Jul 3, 2020
    Posts:
    73
    The only things I can think of are when You are trying to join the same channel again for some reason. If you change scenes this can happen sometimes if your script that had the channel session in it is destroyed. I would need a screen shot of the error (with stack trace) to help you further
     
  3. PrecisionDave

    PrecisionDave

    Joined:
    Dec 15, 2022
    Posts:
    8
    FYI - I chased this down to a bug in the 5.18 sdk where UDP ports end up conflicting with each other when multiple instances are running on the same VM. I was informed this is fixed in 5.19, but we are running on Oculus headsets and 5.19 has a bug where it somehow disables the volume control on the headset. So we can 't go to that until it is fixed. I have a workaround to segment port numbers per process now and it all works well.