Search Issue Tracker

Fixed in Unity 2018.2

Votes

13

Found in

2017.1.0f3

Issue ID

935292

Regression

No

[Android][.Net 4.6] HTTPClient.GetAsync fails to get address with unable to find libc error

Android

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

To reproduce:

1. Download and open attached "GetDomainNameAndroidBug.zip" project.
2. Enter play mode and notice Debug.log statements printed out.
3. Exit play mode.
4. Build and run with android device connected.
5. Use logcat to see application logs.
6. Notice that logs differ. Connection error appears.

Expected result: Everything works the same as in the editor. Connection to client address succeeds.
Actual result: "Unable to find libc" error appears. Connection doesn't succeed.

Reproduced with: 2017.3.0a2, 2017.2.b5, 2017.1.0p2.

Devices under test:

Samsung SM G925F (Galaxy S6 Edge)*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T760,
Build:samsung/zeroltexx/zerolte:7.0/NRD90M/G925FXXU5EQFC:user/release-keys

Google Nexus 6*, OS:6.0.1, CPU:armeabi-v7a, GPU:Adreno (TM) 420,
Build:google/shamu/shamu:6.0.1/MOB30O/2920157:user/release-keys

Sony C6603 (Xperia Z)*, OS:5.1.1, CPU:armeabi-v7a, GPU:Adreno (TM) 320,
Build:Sony/C6603/C6603:5.1.1/10.7.A.0.228/58103698:user/release-keys

Notes: Feature works only with .Net 4.6. On standalone everything works correctly. On iOS some of the logs seems to be missing but no there are no errors printed.

Verified with: 2018.2.0a1, 2018.1.0b7, 2017.3.1p1, 2017.2.1p4

For fix to work, in Player settings "Internet Access" property must be set to Require. Also "Unable to find libc" error can still be seen in the logcat, thus the initial problem that connection did not succeed was fixed.

Comments (9)

  1. 791c3824aa0b2c240b3e20b0c7bdaad3?d=mm

    Ethan_VisualVocal

    Jan 24, 2019 18:59

    File a NEW issue w/ Unity if it's still happening for you -- they won't reopen this bug without that.

  2. 13c804caa6059f3eaa90e21fc3e540a7?d=mm

    b33rdy

    Jan 16, 2019 17:28

    We get this issue, only when the Android app is split (APK + OBB). It seems ok when the app is packaged as a single APK.

  3. 13c804caa6059f3eaa90e21fc3e540a7?d=mm

    b33rdy

    Jan 16, 2019 17:27

    We get this issue, only when the Android app is split (APK + OBB). It seems ok when the app is packaged as a single APK.

  4. B47afabd910858795cbee984a4210bb6?d=mm

    iBicha

    Jan 06, 2019 04:33

    Still in 2018.3.0f2 and 2019.1.0a13

  5. 253c229e4c3aa818e655bb295c215ae5?d=mm

    SketchWork

    Oct 14, 2018 18:48

    Unable to find Libc error still present in 2018.2.12f1

  6. A06e5d6d7f206199cc5b1c3eaed00300?d=mm

    jean_rouquet

    Oct 05, 2018 22:19

    Problem still present in version 2018.2.11f1 (with "Internet Access" property set to Require).

  7. A36c21ffa7508e85e2707cb91f45a3b7?d=mm

    jonasdev99

    Sep 24, 2018 09:59

    The error still persists in version 2018.2.5f1

  8. 196a955d54b3f5ad917d00c82fd292b3?d=mm

    bryane_at_moback

    Dec 27, 2017 21:14

    This bug is stopping us from using the Twilio client in our Unity project.

  9. D73e59eed7d59ace2ee0cdcc7ece54b1?d=mm

    OC01

    Oct 30, 2017 06:55

    I got the same error when I used `CookieContainer` class.
    in Unity 2017.3.0b6

    Devices: Huawei SCL-L02, Galaxy SC-04E

All about bugs

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