Quantcast
Channel: Photon Voice — Photon Engine
Viewing all articles
Browse latest Browse all 671

Two player are in the same scene but not in the same voice room

$
0
0
Hello!

I am using Photon Voice for my project. The Photon Network setup is pretty easy for me but I have encountered a problem that I have not solved for a week.

I followed the suggested workflow from https://doc.photonengine.com/en-US/voice/current/getting-started/voice-for-pun. And I have first instantiated a player in editor and the another in the build in Windows platform.

My two players can join the same room. I suppose it means that they are connected to the same Game server, right?

But when I want to talk to each other, the other player from either build version or the editor can not hear from other player.

I then enabled the support logger to log the information, and got fancy results:

This is from EDITOR:
SupportLogger Info: AppID: "a8c14124***" AppVersion: "" ClientVersion: 4.1.4.4 Build: 2019.3.10f1, WindowsEditor, ENABLE_MONO, DEBUG, NET_STANDARD_2_0, UNITY_64 UserId: "196774c3-6d7f-47c2-aa11-fe3a87774a03" AuthType: None Auth PayloadEncryption PeerID: 113 NameServer: ns.exitgames.com Server: ns.exitgames.com:5058 IP: 52.188.143.243:5058 Region: Socket: ExitGames.Client.Photon.SocketUdp

This is from BUILD:
[2.704] SupportLogger Info: AppID: "a8c14124***" AppVersion: "" ClientVersion: 4.1.4.4 Build: 2019.3.10f1, WindowsPlayer, ENABLE_MONO, DEBUG, NET_STANDARD_2_0, UNITY_64 UserId: "21936b2e-0983-429f-bc6a-09386507631a" AuthType: None Auth PayloadEncryption PeerID: 18950 NameServer: ns.exitgames.com Server: ns.exitgames.com:5058 IP: 52.188.143.243:5058 Region: Socket: ExitGames.Client.Photon.SocketUdp
[5.126] SupportLogger OnConnected().
[5.127] SupportLogger Info: AppID: "a8c14124***" AppVersion: "" ClientVersion: 4.1.4.4 Build: 2019.3.10f1, WindowsPlayer, ENABLE_MONO, DEBUG, NET_STANDARD_2_0, UNITY_64 UserId: "21936b2e-0983-429f-bc6a-09386507631a" AuthType: None Auth PayloadEncryption PeerID: 24910 NameServer: ns.exitgames.com Server: 92.223.82.17:5055 IP: 92.223.82.17:5055 Region: us Socket: ExitGames.Client.Photon.SocketUdp

I realize that the first time the logger show the message in BUILD, only the UserId is different, but the second time neither the Server and the IP address is different from the information in EDITOR. I am wondering if it is acceptable?

This is from EDITOR:
[5.616] SupportLogger OnJoinedRoom(Room: 'eb3dd29f-0719-438d-841f-ce792e827b08_voice_' hidden,open 1/0 players.). GameServer:169.54.101.112:5056

This is from BUILD:
[5.881] SupportLogger OnJoinedRoom(Room: '34be118f-0d7a-4a49-a2db-63172588e246_voice_' hidden,open 1/0 players.). GameServer:92.223.82.53:5056

And the final message in support logger shows that both the voice room and the game server is different. But I do not understand why even the gameserver is different, I can still see two players in the same network room? How can I fix it even I have followed the suggested steps?

Thanks advance for your help!

Viewing all articles
Browse latest Browse all 671

Trending Articles