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

  1. cozyurt_unity

    Jul 15, 2020 11:46

    Kedi Köpek Mamaları Kedi kumu çeşitleri uygun fiyat bol çeşit www.patilimama.com

  2. moounnhiecke

    Jul 10, 2020 18:29

    I have been honestly looking for this solution. You are a life-saver. Sending my love and regards from https://lovelanddeckbuilder.com/, the best deck builders in Loveland, Colorado.

  3. jomM0923

    Jul 08, 2020 02:29

    Appreciate you taking the time in sharing these particulars. Thanks.
    https://www.pinterest.com/clashroyale_pc/
    https://www.pinterest.com/clashroyale_pc/clash-royale/

  4. SheilaBoserio

    Jun 27, 2020 06:04

    Thank you for posting this fix. It worked like a charm. Please visit http://auroraepoxyflooring.com/ and we will take care of your flooring needs.

  5. kristeedita73449

    Jun 21, 2020 07:31

    Thank you very much for writing such an interesting article on this topic. This has really made me think and I hope to read more.

    https://concretecontractorsaltlakecity.com/

  6. PamelaDani

    Jun 20, 2020 13:37

    Thank you for always posting fixes to any issues out there. You always help us out. In return, please visit http://flowermoundfenceanddeck.com for the top-notch quality of fence and deck services in Flower Mound, Texas.

  7. IvanaLoonyo

    Jun 15, 2020 07:36

    I was looking for this article. Thank you for sharing. Sending our love and support from http://denverstumpgrinding.com/

  8. TedNor

    Jun 06, 2020 16:01

    Prefect, thanks for the head up and helpful info!
    https://www.dumpsterrentalwinnipeg.com/junk-removal-winnipeg.html

  9. rianneknox

    Jun 04, 2020 09:43

    Thank you very much for your effort, and I hope you stick to continue doing this. Check out this one of the best concrete contractor https://www.tulsaareaconcreteservices.com

  10. PatriceDani

    May 27, 2020 20:08

    Thank you for solving this problem. Please visit http://mesquiteconcreteservice.com/ for concrete services in Mesquite, Texas.

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.