Search Unity

Does anybody know this bug?

Discussion in 'Multiplayer' started by wulven, Oct 1, 2010.

  1. wulven

    wulven

    Joined:
    Sep 29, 2010
    Posts:
    5
    I use Ledgren network library for MMO game. I build my own proccessing layer called Multiplayer. I test with WinForm it's OK, but when I used this layer for Unity, my game crash with this error:
    NotImplementedException: The requested feature is not implemented.
    System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties ()
    Lidgren.Network.NetUtility.GetNetworkInterface ()
    Lidgren.Network.NetUtility.GetMacAddress ()
    Lidgren.Network.NetPeer.InitializeNetwork ()
    Lidgren.Network.NetPeer.Start ()

    Anybody know this bug? Help me.
     
  2. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,687
    your own processing layer ? not sure what you mean by that but
    do you use anything above .net 2.0 ?
     
  3. zekizeki

    zekizeki

    Joined:
    Jul 22, 2007
    Posts:
    22
    I've just hit this issue with Unity 3.0 in the WebPlayer, it works fine in the editor but in the WebPlayer I get the error

    "Could not load type 'System.Net.NetworkInformation.NetworkInterface' from assembly System"

    This was allowed in Unity 2.6 but is now not in 3.0. I suspect it's part of the overall security "upgrade" and is there to stop you accessing the Mac address of the user.

    Not great though, as with all these security "fixes" it stops a whole bunch of existing stuff working :(