lidgren / lidgren-network-gen3

Lidgren Network Library
https://groups.google.com/forum/#!forum/lidgren-network-gen3
MIT License
1.19k stars 331 forks source link

I use the lidgren Mac 5.1.2 unity platform has been a problem #56

Open LinkSpaceGame opened 8 years ago

LinkSpaceGame commented 8 years ago

Error]:Exception:{0} {1}This platform is not supported at System.Collections.Generic.RBTree..ctor (System.Object hlp) [0x00000] in :0 at System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties () [0x00000] in :0 at Lidgren.Network.NetUtility.GetNetworkInterface () [0x00000] in :0 at Lidgren.Network.NetUtility.GetBroadcastAddress () [0x00000] in :0 at Lidgren.Network.NetPeerConfiguration..ctor (System.String appIdentifier) [0x00000] in :0 at DashFire.Network.NetworkSystem.Init () [0x00000] in :0 at DashFire.GameControler.InitLogic () [0x00000] in :0 at GameLogic.StartLogic () [0x00000] in :0 at GameLogic+c__Iterator25.MoveNext () [0x00000] in :0

Trojaner commented 8 years ago

I guess you'll have to wait for Unity to update its mono version

forestrf commented 8 years ago

I am using Unity with this and it is working, but I am on windows. Also, I have a pull request that makes it easy. Please look at https://github.com/lidgren/lidgren-network-gen3/pull/59 to see if it works and solves your problem