Search Issue Tracker

Fixed in 2018.2

Fixed in 2017.2, 2017.3, 2018.1

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

  1. 959918832ce15327c9b90f529d50b6c6?d=mm

    daveseo20

    May 11, 2020 18:20

    Great information and solution! Thank you so much | https://hammtreeservice.com/

  2. 6b9cdc3a6bc7fe61551b14e9467e83a0?d=mm

    activeseo12

    May 11, 2020 15:49

    Great it was solved! https://www.ohiotrucks.com/

  3. 6c4cf942777bb6701c6963330b0aac2a?d=mm

    unity_K4p9ZN2CJsTYvA

    May 09, 2020 08:37

    Looks like the problem is solved.
    http://www.liquordelivery289.com

  4. 8f0d28971da89e4e4fe639ef1b50587b?d=mm

    Danielperez123

    May 07, 2020 14:36

    I love the information! Thanks for sharing this | https://www.crownsterling.io/

  5. 6845e15db0d0383c2644f384bb6e1376?d=mm

    johndd110

    May 05, 2020 18:31

    This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post.
    guatemala travel http://thetravelerswithin.com/

  6. 559a25da9ef9e61b88c353a817324f3c?d=mm

    lacasadepapel1

    May 05, 2020 05:17

    Thank you for giving me this solution. The steps were so detailed that I was able to follow it easily.

    Please do contact us for stump grinding services in Fort Collins, Colorado.

    You can visit us here https://fortcollinsstumpgrinding.com/

  7. 6845e15db0d0383c2644f384bb6e1376?d=mm

    johndd110

    May 03, 2020 17:48

    Thanks for taking the time to discuss this, I feel strongly that love and read more on this topic. If possible, such as gain knowledge, would you mind updating your blog with additional information? It is very useful for me.
    peccary http://thetravelerswithin.com/peccaries/

  8. 5f50f2add8782c5557b16cfd67af9268?d=mm

    witchita923

    Apr 30, 2020 14:30

    I've been searching for days on how to fix such an issue but things to your post I am able to resolve it with no problem. Thanks for sharing. Also, visit https://boulderepoxyflooring.com/ just in case you're looking for epoxy flooring company that offers the best epoxy floor solutions at affordable rates.

  9. 08c14c7d35a089089f2c0f0f737b6fe4?d=mm

    And3y

    Apr 29, 2020 12:38

    Thanks for sharing this content. I am bookmarking this for future use. Best Regards from http://wichitafallsconcrete.com/

  10. Af4ebf77aea9710f1a2838f663d71e4e?d=mm

    MasterDani

    Apr 28, 2020 17:28

    Thank you for sharing this fix. As an Android user, I appreciate it so much. Cheers from https://www.lovelandconcretecontractor.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.