Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

1

Found in

5.3.5f1

Issue ID

803576

Regression

No

[Android] Socket.OSSupportsIPv6 throwing exception on Android if API compatibility is set to .NET 2.0

Android

-

To reproduce:
1) Open attached project (Broken one)
2) Make sure API Compatibility in player settings is set to .NET 2.0
3) Build and run on Android
4) Check logcat - see that the second method returns 'false' and third one fails completely

DUT: Samsung Galaxy Note 4 (Android 5.1.1)

Fixed in - 2018.1.0b12, 2018.2.0a7

Comments (1)

  1. dg-joseph

    Aug 26, 2016 07:26

    Hi, I can confirm that this is still the case with 5.4.0p3
    Followed the steps here:
    https://fogbugz.unity3d.com/default.asp?803576_dd4igthvr1jva96j

    However, when using IL2CPP Scripting Backend:
    - Socket.SupportsIPv6 works
    - Socket.OSSupportsIPv6 fails

    I get the same results with Stripping Enabled & Disabled.

    Hope this gets resolved soon! Thanks!

    Regards,
    Joseph

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.