Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Strange compiling error on the mono runtime

Discussion in 'Editor & General Support' started by dtoebe, Nov 22, 2014.

  1. dtoebe

    dtoebe

    Joined:
    Jan 5, 2013
    Posts:
    2
    I am getting a compiling error when trying to test my game. I've uninstalled unity once then restarted my computer re installed it w/o removing the settings manually. I am using VS2013 with the plugin. Now before I go delete everything from Unity I was hoping you can help.


    NullReferenceException: Object reference not set to an instance of an object
    System.String.memcpy1 (System.Byte* dest, System.Byte* src, Int32 size) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/String.cs:2906)
    System.String.memcpy (System.Byte* dest, System.Byte* src, Int32 size) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/String.cs:2948)
    (wrapper unknown) System.Net.NetworkInformation.Win32_IP_ADAPTER_UNICAST_ADDRESS: PtrToStructure (intptr,object)
    System.Net.NetworkInformation.UnicastIPAddressInformationImplCollection.Win32FromUnicast (Int32 ifIndex, IntPtr ptr)
    System.Net.NetworkInformation.Win32IPInterfaceProperties2.get_UnicastAddresses ()
    SyntaxTree.VisualStudio.Unity.Messaging.Platform.<IPAddresses>b__1 (System.Net.NetworkInformation.NetworkInterface i)
    System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Net.NetworkInformation.NetworkInterface,System.Net.NetworkInformation.UnicastIPAddressInformation].MoveNext ()
    System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Net.NetworkInformation.UnicastIPAddressInformation].MoveNext ()
    System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Net.NetworkInformation.UnicastIPAddressInformation].MoveNext ()
    System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.Net.NetworkInformation.UnicastIPAddressInformation,System.Net.IPAddress].MoveNext ()
    System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Net.IPAddress].MoveNext ()
    System.Collections.Generic.List`1[System.Net.IPAddress].AddEnumerable (IEnumerable`1 enumerable) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:128)
    System.Collections.Generic.List`1[System.Net.IPAddress]..ctor (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:65)
    System.Linq.Enumerable.ToArray[IPAddress] (IEnumerable`1 source)
    SyntaxTree.VisualStudio.Unity.Messaging.Platform.IPAddresses ()
    SyntaxTree.VisualStudio.Unity.Bridge.Announcer.<.ctor>b__2 ()
    SyntaxTree.VisualStudio.Unity.Bridge.Project+<>c__DisplayClass3.<RunOnceOnUpdate>b__2 ()
    UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/BuildAgent/work/d63dfc6385190b60/artifacts/EditorGenerated/EditorApplication.cs:231)
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Looks like a SyntaxTree issue trying to do something over the network. There's nothing Unity/Mono in the callstack.
     
  3. dtoebe

    dtoebe

    Joined:
    Jan 5, 2013
    Posts:
    2
    Ya That helps explain why it went away when I moved to a different network