Search Issue Tracker

Fixed in 4.5

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. 765b8c9ca9e593931095d632eb604fc0?d=mm

    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. 6607232755259004445f74e89c60cd85?d=mm

    WillMeadows

    Apr 03, 2014 22:59

    Officially Complaining and want this fixed ASAP!

  3. 654282e53eec22624af42d630c829184?d=mm

    mparedes

    Mar 26, 2014 01:30

    Please fix, it's a blocker for me.

  4. Eca7ac0d90f2e6bd473e444403dadc58?d=mm

    SteelGander

    Mar 25, 2014 21:28

  5. Be3b40962af3733ad22b3081a041b8d3?d=mm

    mweston

    Mar 07, 2014 16:33

    Really frustrating bug for me. Please fix!

  6. 98a6ead5edd0436acf2e9f29118e0664?d=mm

    beauzo

    Mar 07, 2014 05:00

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

  7. Ff49df5ccebd01c2f87af54f9d48e2e3?d=mm

    dhorres

    Mar 06, 2014 23:53

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

  8. 48b8ac3fd4ccd8aa2b1378ac28a49e60?d=mm

    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. 217749daa8528400194a44858a592a5f?d=mm

    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. Bfc4f20bcb63b1df7a097d0e005db523?d=mm

    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.