The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Voice.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

PUNVoice: Audio Frame event for not existing speaker for voice of player.

astrovicis
2017-09-20 00:34:35

I seem to always get this message on other clients after calling PhotonVoiceNetwork.Disconnect() and then PhotonVoiceNetwork.Connect() again (I call Disconnect and Connect inside of Photon.PunBehaviour's OnConnectionFail and OnJoinRoom, respectively).

I instantiate the Voice prefab with a unique ViewID in OnJoinRoom. Not sure what's happening.
Anyone get something like this before?

Here's the stacktrace for the error:

PUNVoice: Audio Frame event for not existing speaker for voice #1 of player 3.
UnityEngine.Debug:LogWarningFormat(String, Object[])
UnityVoiceFrontend:OnAudioFrame(Int32, Int32, Byte, Single[], Object) (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:494)
ExitGames.Client.Photon.Voice.RemoteVoice:receiveFrame(Byte[]) (at Assets/Plugins/PhotonVoiceApi/Core/VoiceClient.cs:474)
ExitGames.Client.Photon.Voice.RemoteVoice:receiveBytes(Byte[], Byte) (at Assets/Plugins/PhotonVoiceApi/Core/VoiceClient.cs:462)
ExitGames.Client.Photon.Voice.VoiceClient:onFrame(Int32, Int32, Byte, Byte, Byte[]) (at Assets/Plugins/PhotonVoiceApi/Core/VoiceClient.cs:1052)
ExitGames.Client.Photon.Voice.VoiceClient:onVoiceEvent(Object, Int32, Int32, Int32) (at Assets/Plugins/PhotonVoiceApi/Core/VoiceClient.cs:837)
ExitGames.Client.Photon.Voice.LoadBalancingFrontend:onEventActionVoiceClient(EventData) (at Assets/Plugins/PhotonVoiceApi/LoadBalancingFrontend.cs:280)
ExitGames.Client.Photon.LoadBalancing.LoadBalancingClient:OnEvent(EventData) (at Assets/Plugins/PhotonLoadbalancingApi/LoadBalancingClient.cs:2497)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:Service()
ExitGames.Client.Photon.LoadBalancing.LoadBalancingClient:Service() (at Assets/Plugins/PhotonLoadbalancingApi/LoadBalancingClient.cs:838)
ExitGames.Client.Photon.Voice.LoadBalancingFrontend:Service() (at Assets/Plugins/PhotonVoiceApi/LoadBalancingFrontend.cs:137)
PhotonVoiceNetwork:Update() (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:201)

Comments

vadim
2017-09-25 17:03:07

If you get this warning not repeatedly but only once per reconnection and everything else works as expected, ignore this warning. It's not harmful.

Back to top