Microphone not working after user re-enter a room
BFX
✭
in Photon Voice
Stack:
Unity 2019.2.19f1
MacOS
PUN2 v2.16
Photon Voice v2.12
In our VR multiplayer game there are two rooms:
Lobby (scene 0) - single player
Forum (scene 1) - multiplayer
This is the flow:
Analysing the logs for Player 1 I noticed that when everything is working well:
but after Player 1 comes back to the forum:
IsCurrentlyTransmitting now it's false and cannot change.
I have tried with both Unity Microphone type and Photon microphone type, and the result is always the same.
Unity 2019.2.19f1
MacOS
PUN2 v2.16
Photon Voice v2.12
In our VR multiplayer game there are two rooms:
Lobby (scene 0) - single player
Forum (scene 1) - multiplayer
This is the flow:
- Player 1 enter the Forum (starting from Lobby)
- Player 2 enter the Forum (starting from Lobby)
- Player 1 and Player 2 can hear each other well
- Player 1 leaves the room
- Player 1 back to the Lobby
- Player 1 re-enter the Forum
- Player 1 can hear Player 2, but Player 2 cannot hear Player 1
Analysing the logs for Player 1 I noticed that when everything is working well:
photonVoiceView.IsSetup: true hotonVoiceView.IsRecorder: true recorder.IsInitialized: true recorder.IsRecording: true recorder.TransmitEnabled: true recorder.IsCurrentlyTransmitting: true
but after Player 1 comes back to the forum:
photonVoiceView.IsSetup: true hotonVoiceView.IsRecorder: true recorder.IsInitialized: true recorder.IsRecording: true recorder.TransmitEnabled: true recorder.IsCurrentlyTransmitting: false
IsCurrentlyTransmitting now it's false and cannot change.
I have tried with both Unity Microphone type and Photon microphone type, and the result is always the same.
0
Comments
-
Hi @BFX,
This is a known issue, already fixed but the fix is not released yet.
It will be out in the next version.
Replace PhotonVoiceNetwork with this version.
Thank you for your understanding and patience.0 -
Nice! It works finally thanks a lot!!!!0