Can't hear or speak after app loses focus.

I just integrated photon voice 2 for the first time following the getting started guide at the photon website and it's working fine until the App loses focus (if i click Alt-Tab or windows) When the app loses focus the user can no longer hear/speak to the other users. Please help ;-;

Comments

  • Hi @YogenRai,

    Thank you for choosing Photon!

    Do you enable Run In Background from "VoiceConnection"?
    Or if you use the PUN integration from "PhotonServerSettings" and "PhotonVoiceNetwork"?
    It sets Application.runInBackground.

    if the issue persists:
    Make sure you are not disconnecting when the application loses focus.
    Does this happen with the Unity Editor and a Windows build?

    What Photon Voice version are you using?
    What Unity version are you using?
Sign In or Register to comment.