Cannot hear voice in the editor neither see created speaker i the hierarchy. However works on device

in Photon Voice
Currently added photon voice V2 chat along with UNET. Using also OVR plugin because using "Oculus GO" . My setup is that i have Voice connection, Recorder and ConnectAndJoin on a separate Game Object. Voice seems to connect just fine on our Oculus GO device. However when hosting from both editor and even standalone build voice seems not to work on those.
No errors seem to occur when running the application. I seems that it gives the same voice ID to both clients.
Here are the inspector settings:
https://drive.google.com/file/d/1eohou7RSeq72u1Vtj9s_XSV_tfaoBar1/view?usp=sharing
I am connecting manually on player object Start function therefor AutoConnect and AutoTransmit are disabled. Previously tried them enabled did not work. If you need anything to know other that I've posted. I will provide everything below.
No errors seem to occur when running the application. I seems that it gives the same voice ID to both clients.
Here are the inspector settings:
https://drive.google.com/file/d/1eohou7RSeq72u1Vtj9s_XSV_tfaoBar1/view?usp=sharing
I am connecting manually on player object Start function therefor AutoConnect and AutoTransmit are disabled. Previously tried them enabled did not work. If you need anything to know other that I've posted. I will provide everything below.
0
Comments
Thank you for choosing Photon!
On another note:
Thanks for quick response
I am going to try that then come back if it solved the issue. However i forgot to mention that it seems kinda random. Sometimes i hear voice on client only,sometimes i can hear on both and sometimes nether of them works. That is strange because i do not change anything i just relaunch programs
How?
Previously tried them enabled did not work.
What do you mean it didn't work?
Here the code that does that from a Player GameObject which is spawned by Network Manager
Unity v 2018.3.1f1 and Photon v Pun: 2.2 Photon lib: 4.1.2.1
Thanks probably will do that aswell
I've tried previous fix and that seem eliminate the case when nether of users gets the sound. But it still doesn't seem to work in the editor.And by "not working " i mean that i don't get to hear the sound and neither i see the speaker prefab appearing on editor side. Is there a reason to that? Can i make it work?
Could you reproduce using DemoVoiceUI?
The problem is that you app for some reason may not request a permission on its first launch.
Basically what you do is you write a following piece of code either on start of an existing script that is in your scene or create a new one.
That is for android however it is similar for other platforms.
You can also go further and make an explanation message for user why do you need permissions.
More detailed explanation about it you can find here
Thanks for the link! we will add it here.
Thanks for the link! we will add it here.
Glad that this was actually helpful))