Search Issue Tracker

Fixed in 4.5.X

Votes

21

Found in

4.3.1f1

Issue ID

587067

Regression

No

[Mono] NetworkInterface.GetAllNetworkInterfaces() raises bad length ArgumentException with "long" OS X adapter names

Mono

-

Calling NetworkInterface.GetAllNetworkInterfaces() in MacOS X, when there are adapters with more than 6 characters (i.e. "bridge0", "vboxnet0"), raises ArgumentException since the length of the destination array is only 6 bytes.

Comments (11)

  1. pws-devs

    Feb 24, 2015 04:40

    There is still a problem with the GetAllNetworkInterfaces call for Android builds even in 4.6.3f1. Will the mono get updated for Unity?

  2. WillMeadows

    Apr 03, 2014 22:59

    Officially Complaining and want this fixed ASAP!

  3. mparedes

    Mar 26, 2014 01:30

    Please fix, it's a blocker for me.

  4. SteelGander

    Mar 25, 2014 21:28

  5. mweston

    Mar 07, 2014 16:33

    Really frustrating bug for me. Please fix!

  6. beauzo

    Mar 07, 2014 05:00

    I might buy more licenses if you would please include this fix in the next release... Thanks!

  7. dhorres

    Mar 06, 2014 23:53

    Yes to BADDY. Please apply this fix to Unity--big blocker for me.

  8. baddy

    Mar 06, 2014 22:08

    Looks like this has been fixed in Mono but not in Unity's Mono version:

    https://bugzilla.novell.com/show_bug.cgi?id=594642
    http://bugzillafiles.novell.org/attachment.cgi?id=414182

    Perhaps this fix can be easily applied?

  9. natid4

    Mar 06, 2014 22:04

    I have the same problem! Please fix this soon because it is a huge blocker for my project.

  10. swswggg

    Feb 13, 2014 16:52

    also in 3.5.7f6

    i used NetworkInterface.GetAllNetworkInterfaces() in my code and got this in android

    I/Unity (21514): EntryPointNotFoundException: getifaddrs
    I/Unity (21514): at (wrapper managed-to-native) System.Net.NetworkInformation.LinuxNetworkInterface:getifaddrs (intptr&)
    I/Unity (21514): at System.Net.NetworkInformation.LinuxNetworkInterface.ImplGetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
    I/Unity (21514): at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces () [0x00000] in <filename unknown>:0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.