Failed to connect to server after testing each known IP. Error(s)

Any idea why this is happening only on Windows 64-bit build? Android and iOS and Editor are fine. I am using Photon Cloud with 20 CCU, all three other listed platforms connect fine and reach the main menu. The Windows 64-bit build is stuck at this. This uses Unity 2019.3.15f1 with iOS and Android build support and ILCPP. All platforms are built with ILCPP scripting back-end.

Moreover, I changed the connection protocol to TCP and it used to work for Windows 64-bit in the previous update. I am using Photon Cloud, not On-Premise. I also posted about the issue on Photon’s forums with the link below.

Screenshot with crash using development build: https://cdn.discordapp.com/attachments/728299102307352647/733162116487577790/unknown.png
Photon Forum Post: The Photon Forum is Closed Permanently. | Photon Engine

I believe you’re running into this: Unity Issue Tracker - System.Net.Socket objects throw ArgumentException in IL2CPP after installing Windows SDK 2004

It’s fixed in 2019.4.5f1. See this for a workaround: IL2CPP Failing in Windows Machine

1 Like

I’ll be patiently waiting for the update. Thanks :slight_smile:

I tried switching the project from ILCPP scripting back-end to Mono and it did connect.
I suppose you are right! I cannot wait for the new Unity update.