Starting microphone failed: issue with photon voice
Sometimes in quest2 app with unity and i am Instantiate component with PhotonVoiceNetwork and recorder attached to it .I got errors related to starting microphone failed .Even android permission for microphone is also added .10 out 2-3 times error is coming
Unity Version :2018.4.7f1
Photon Voice :v2.15
Logs Related to this issue :
Unity: [Voice(Clone).Recorder] Setting recorder's source to Unity microphone device
Unity: [Voice(Clone).Recorder] [PV] MicWrapper: initializing microphone '', suggested frequency = 48000).
Unity: [Voice(Clone).Recorder] [PV] MicWrapper does not support suggested frequency 48000 (min: 16000, max: 16000). Setting to 16000
Unity: Starting microphone failed: "An error occured that wasn't supposed to. Contact support. " (33)
Photon.Voice.Unity.MicWrapper:.ctor(String, Int32, ILogger)
Unity: [Voice(Clone).Recorder] [PV] MicWrapper: System.NullReferenceException: Object reference not set to an instance of an object.
at Photon.Voice.Unity.MicWrapper..ctor (System.String device, System.Int32 suggestedFrequency, Photon.Voice.ILogger logger) [0x00000] in <00000000000000000000000000000000>:0
After that Recorder.isRecording = false
after room joining no one in room is not able to listen my voice .can you help me why i am getting this error.Is there something i miss .