Photon Voice Demo
Options
Jasmine
✭
Hi! Last week I tried the demo and it worked really well. But I'm not sure why it doesn't work when I tried it recently and even created a new project for it. This is what I got:
PUNVoice: [PV] Frame event for not inited voice #1 of player 2
UnityEngine.Debug:LogWarning(Object)
UnityVoiceClient:DebugReturn(DebugLevel, String) (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:308)
ExitGames.Client.Photon.Voice.Client:onFrame(EventData, Object[]) (at Assets/Plugins/PhotonVoiceApi/Client.cs:850)
ExitGames.Client.Photon.Voice.Client:onEventActionVoiceClient(EventData) (at Assets/Plugins/PhotonVoiceApi/Client.cs:691)
ExitGames.Client.Photon.LoadBalancing.LoadBalancingClient:OnEvent(EventData) (at Assets/Plugins/PhotonLoadbalancingApi/LoadBalancingClient.cs:2289)
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:750)
ExitGames.Client.Photon.Voice.Client:Service() (at Assets/Plugins/PhotonVoiceApi/Client.cs:409)
PhotonVoiceNetwork:Update() (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:178)
NullReferenceException: Object reference not set to an instance of an object
PhotonVoiceRecorder.get_Transmit () (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:273)
ExitGames.Photon.DemoPunVoice.VoiceDemoUI.InitToggles (UnityEngine.UI.Toggle[] toggles) (at Assets/PUNVoice/DemoPunVoice/Scripts/VoiceDemoUI.cs:118)
ExitGames.Photon.DemoPunVoice.VoiceDemoUI.Update () (at Assets/PUNVoice/DemoPunVoice/Scripts/VoiceDemoUI.cs:279)
PUNVoice: [PV] Frame event for not inited voice #1 of player 2
UnityEngine.Debug:LogWarning(Object)
UnityVoiceClient:DebugReturn(DebugLevel, String) (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:308)
ExitGames.Client.Photon.Voice.Client:onFrame(EventData, Object[]) (at Assets/Plugins/PhotonVoiceApi/Client.cs:850)
ExitGames.Client.Photon.Voice.Client:onEventActionVoiceClient(EventData) (at Assets/Plugins/PhotonVoiceApi/Client.cs:691)
ExitGames.Client.Photon.LoadBalancing.LoadBalancingClient:OnEvent(EventData) (at Assets/Plugins/PhotonLoadbalancingApi/LoadBalancingClient.cs:2289)
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:750)
ExitGames.Client.Photon.Voice.Client:Service() (at Assets/Plugins/PhotonVoiceApi/Client.cs:409)
PhotonVoiceNetwork:Update() (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:178)
NullReferenceException: Object reference not set to an instance of an object
PhotonVoiceRecorder.get_Transmit () (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:273)
ExitGames.Photon.DemoPunVoice.VoiceDemoUI.InitToggles (UnityEngine.UI.Toggle[] toggles) (at Assets/PUNVoice/DemoPunVoice/Scripts/VoiceDemoUI.cs:118)
ExitGames.Photon.DemoPunVoice.VoiceDemoUI.Update () (at Assets/PUNVoice/DemoPunVoice/Scripts/VoiceDemoUI.cs:279)
0
Comments
-
Hi,
So it does not work because of NullReferenceException? From the stack I see that it's thrown when"Transmit" toggle pressed. Or it fails even if no ui used? Can you please send full log starting from the app launch?0 -
These comes out before i clicked anything on the ui.
Here is a screenshot:
https://dropbox.com/s/jiat7yrozqz1gyk/Screen%20Shot%202016-03-29%20at%204.44.57%20PM.png?dl=0
0 -
Hi! It is working fine now! I reimported the asset. Thank you so much0
-
Hi! It is working fine now! I reimported the asset. Thank you so much0