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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
swswggg
Feb 13, 2014 12:32
In iOS, the same result is produced.
here is the exception message in xcode 4
ArgumentException: length
at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000] in <filename unknown>:0
at System.Net.NetworkInformation.MacOsNetworkInterface.ImplGetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
(Filename: Line: -1)