Photon Voice: InvalidCastException and Demo's don't work - plz help
Hi Guys,
I'm trying to implement Photon Voice, but when i try to run the demo(with out push-to-talk) i get the following error message about 60 times a second:
InvalidCastException: Cannot cast from source type to destination type.
PhotonVoiceRecorder.get_voiceAudio () (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:16)
PhotonVoiceRecorder.get_VoiceDetectorCalibrating () (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:213)
ExitGames.Demos.DemoPunVoice.VoiceDemoUI.Update () (at Assets/PUNVoice/DemoVoice/Scripts/VoiceDemoUI.cs:315)
I tried the following fix but that didn't change anything since this was already in the implemented code
http://forum.photonengine.com/discussion/2081/pun-1-17-and-setlevelprefix#p9735
When i try to run the demo with Push-To-Talk i don't get a error, but i also can't get the voice communication to work. please help!
I'm trying to implement Photon Voice, but when i try to run the demo(with out push-to-talk) i get the following error message about 60 times a second:
InvalidCastException: Cannot cast from source type to destination type.
PhotonVoiceRecorder.get_voiceAudio () (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:16)
PhotonVoiceRecorder.get_VoiceDetectorCalibrating () (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:213)
ExitGames.Demos.DemoPunVoice.VoiceDemoUI.Update () (at Assets/PUNVoice/DemoVoice/Scripts/VoiceDemoUI.cs:315)
I tried the following fix but that didn't change anything since this was already in the implemented code
http://forum.photonengine.com/discussion/2081/pun-1-17-and-setlevelprefix#p9735
When i try to run the demo with Push-To-Talk i don't get a error, but i also can't get the voice communication to work. please help!
0
Comments
-
Hi @Flash_Dog123,
Thank you for choosing Photon!
This issue is fixed and will be available in today's release v1.10.
Thank you for your patience.0