Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2017.2.X, 2017.3.X, 2018.1.X

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

-

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 (81)

  1. MasterDani

    Apr 21, 2020 18:11

    Thank you for posting this. I have been looking for this a lot. Cheers from http://www.lovelandstumpgrinding.com/

  2. TokioMatis

    Apr 14, 2020 10:13

    Thank you for sharing this content. I appreciate it a lot. Cheers from http://castlerockdeckandfence.com/

  3. jazibraza53

    Mar 12, 2020 14:06

    You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!
    best serums with hyaluronic acid https://www.healingourskin.com/17-of-the-best-serums-with-hyaluronic-acid-for-dry-skin/

  4. jazibraza53

    Feb 26, 2020 14:09

    Great knowledge, do anyone mind merely reference back to it
    call Sherri http://www.louisvilleaccidentdoctor.com

  5. jazibraza53

    Feb 24, 2020 14:57

    Thanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource...
    dji mavic air https://mavic.me/

  6. jazibraza53

    Feb 22, 2020 11:19

    I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates.
    Arrhythmia https://detonic.shop/

  7. unity_K99WJS2TxGpRtA

    Feb 15, 2020 06:02

    Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers.
    Mississauga Mold Removal https://www.gtamoldremoval.com/mississauga.html

  8. unity_K99WJS2TxGpRtA

    Feb 15, 2020 06:02

    Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers.
    <a href='https://www.gtamoldremoval.com/mississauga.html'>Mississauga Mold Removal</a>

  9. shaikhraza787

    Feb 08, 2020 11:00

    I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
    rico chandra kusuma https://ricochandrakusuma.com/

  10. shaikhraza787

    Feb 06, 2020 13:51

    Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know.
    gardening https://www.mechanopedia.com/

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.