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.
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
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)