BeardedManStudios / ForgeNetworkingRemastered

See various forks, also please join the Forge Community fork of Forge Alloy! -> https://github.com/ForgeAlloyCommunity/ForgeAlloy
https://twitter.com/FarrisFaulds
Apache License 2.0
1.49k stars 305 forks source link

No connection on iOS 14 #407

Open olgv opened 3 years ago

olgv commented 3 years ago

Version Number and Operating System(s):

Unity 2019.4.30f1 macOS 11.4 with Xcode 12.5.1 iOS 14.8

Expected behavior:

iOS application running as client used to connect to computer running as Server

Actual behavior:

since iOS 14 the Unity app is not connecting anylonger

Steps to reproduce:

I can share the project, though is a big one As far as we got is to the point where Xcode reports the following, while running the app connected to Xcode. The networking works between to computers, Windows or macOS, but not on iOS devices.

InvalidProgramException: No route to host

at BeardedManStudios.Forge.Networking.CachedUdpClient.DoSend (System.Byte[] dgram, System.Int32 bytes, System.Net.IPEndPoint endPoint) [0x00000] in <00000000000000000000000000000000>:0 at BeardedManStudios.Forge.Networking.NetWorker+<>c__DisplayClass232_1.b__1 () [0x00000] in <00000000000000000000000000000000>:0 at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.WaitCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ContextCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.UnhandledExceptionHandler:PrintException(String, Exception) UnityEngine.UnhandledExceptionHandler:HandleUnhandledException(Object, UnhandledExceptionEventArgs) System.UnhandledExceptionEventHandler:Invoke(Object, UnhandledExceptionEventArgs)

(Filename: currently not available on il2cpp Line: -1)

[Optional] Discord Username: