PUN 2 with Photon Voice 2 doesn't connect to Photon Server
waldir
✭
I have my own Photon Server and a PUN 2 project, everything was working fine, but today I tried to use Photon Voice 2, I got the asset from Asset Store, now I can't connect to my Photon Server.
I got this error:
Unity 2019.2.10f1
PUN 2.15 Photon lib: 4.1.2.18
Photon Voice 2 2.11
I got this error:
DNS.GetHostEntry() failed for: 192.168.10.52. Exception: System.Net.Sockets.SocketException (0x80004005): Could not resolve host '192.168.10.52'
at System.Net.Dns.Error_11001 (System.String hostName) [0x00015] in <735c83e43c004ee998f77c68cf8035da>:0
at System.Net.Dns.GetHostByAddressFromString (System.String address, System.Boolean parse) [0x00034] in <735c83e43c004ee998f77c68cf8035da>:0
at System.Net.Dns.GetHostEntry (System.Net.IPAddress address) [0x00014] in <735c83e43c004ee998f77c68cf8035da>:0
at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x0004b] in <735c83e43c004ee998f77c68cf8035da>:0
at ExitGames.Client.Photon.IPhotonSocket.GetIpAddresses (System.String hostname) [0x00002] in C:\Dev\photon-sdk-dotnet\PhotonDotnet\IPhotonSocket.cs:260
UnityEngine.Debug:LogError(Object)
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/3rd Party/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2081)
ExitGames.Client.Photon.<>c__DisplayClass104_0:b__0() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:899)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:431)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1596)
Photon.Pun.PhotonHandler:Dispatch() (at Assets/3rd Party/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:205)
Photon.Pun.PhotonHandler:FixedUpdate() (at Assets/3rd Party/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:139)
at System.Net.Dns.Error_11001 (System.String hostName) [0x00015] in <735c83e43c004ee998f77c68cf8035da>:0
at System.Net.Dns.GetHostByAddressFromString (System.String address, System.Boolean parse) [0x00034] in <735c83e43c004ee998f77c68cf8035da>:0
at System.Net.Dns.GetHostEntry (System.Net.IPAddress address) [0x00014] in <735c83e43c004ee998f77c68cf8035da>:0
at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x0004b] in <735c83e43c004ee998f77c68cf8035da>:0
at ExitGames.Client.Photon.IPhotonSocket.GetIpAddresses (System.String hostname) [0x00002] in C:\Dev\photon-sdk-dotnet\PhotonDotnet\IPhotonSocket.cs:260
UnityEngine.Debug:LogError(Object)
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/3rd Party/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2081)
ExitGames.Client.Photon.<>c__DisplayClass104_0:b__0() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:899)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:431)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1596)
Photon.Pun.PhotonHandler:Dispatch() (at Assets/3rd Party/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:205)
Photon.Pun.PhotonHandler:FixedUpdate() (at Assets/3rd Party/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:139)
Unity 2019.2.10f1
PUN 2.15 Photon lib: 4.1.2.18
Photon Voice 2 2.11
0
Comments
-
Hi @waldir,
Thank you for choosing Photon!
What is the PUN2 version you were using before importing Photon Voice 2?
Could you try reproducing in a clean empty fresh new project where you import only Photon Voice 2 and test with any of the scene from the "Assets\Photon\PhotonVoice\Demos\DemoVoicePun"?
Could you share the PhotonServerSettings you are using?
What Scripting Backend do you use?
Mono version? .NET equivalent of 3.5 or 4.x?0