Unity Editor Freeze with Photon Mic Type
Options
Comments
-
Hi @GrimShady_,
Thank you for choosing Photon!
Do you have Recorder.ReactOnSystemChanged enabled (true)?
What about Recorder.SkipDeviceChangeChecks?0 -
Hi, Thanks for replying
Recorder.ReactOnSystemChanged is unchecked
As for Recorder.SkipDeviceChangeChecks, I can't seem to find that field
My PhotonServerSetting Version is Pun 2.15
In the Photon Voice 2 Change Log The latest entry is of, v2.13 (February 03rd, 2020)0 -
@JohnTube I updated to the latest version. But I was getting a compile time error saying ISyncAudioOut could not be found. I copy-pasted the interface in AudioStreamPlayer.cs from the pre-updated plugin. So far no freeze observed.0
-
Hi @GrimShady_,
Thanks for the heads up.
However, there should be no compile errors when importing or updating Voice.
Could you try importing Voice latest in a new fresh clean empty project?1 -
@JohnTube same issue. Is this interface missing from AudioUtil.cs? This is what it used to look like:
public interface ISyncAudioOut<T> : IAudioOut<T>
{
int PlaySamplePos { get; set; }
void Pause();
void UnPause();
}0 -
I see that AudioStreamPlayer.cs is no longer used. My asset store update failed to remove it. Fixed now.0
-
Yes, AudioStreamPlayer.cs was removed in 2.16:CHANGED: Speaker playback is optimized (AudioStreamPlayer no longer used) and runs on a separate coroutine.0