Putting windows 10 in airplane mode (or having wifi disabled) generates a null reference exception. Lidgren tries to aquire an ip address but in airplane mode there is no ip address available.
I came by this when using Lidgren in Unity3D.
(partial) stack trace below.
NullReferenceException: Object reference not set to an instance of an object
Lidgren.Network.NetUtility.GetBroadcastAddress () (at Assets/Scripts/External/Lindgren/Platform/PlatformWin32.cs:86)
Lidgren.Network.NetPeerConfiguration..ctor (System.String appIdentifier) (at Assets/Scripts/External/Lindgren/NetPeerConfiguration.cs:98)
Putting windows 10 in airplane mode (or having wifi disabled) generates a null reference exception. Lidgren tries to aquire an ip address but in airplane mode there is no ip address available.
I came by this when using Lidgren in Unity3D.
(partial) stack trace below.
NullReferenceException: Object reference not set to an instance of an object Lidgren.Network.NetUtility.GetBroadcastAddress () (at Assets/Scripts/External/Lindgren/Platform/PlatformWin32.cs:86) Lidgren.Network.NetPeerConfiguration..ctor (System.String appIdentifier) (at Assets/Scripts/External/Lindgren/NetPeerConfiguration.cs:98)