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
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
- Scene is not rendered and appears black when the Custom Renderer Feature is utilized
- [ShortcutManager] The Context Menu is not updated in the Shortcuts menu when resolving a Binding Conflict
- [Quest] Foveation Level is 0 when SRP Foveation is enabled
- Freeze when displaying text with "-T" in Play mode
portsaintlucieconcrete
Aug 29, 2024 17:35
The issue with HttpClient on Android in Unity is likely due to a missing libc library. Updating Unity and checking the Unity forums for related workarounds might help resolve it.
Remlar
Aug 12, 2024 23:50
Thank you so much for the kind words! I’m really glad you found the content engaging. I’d be happy to revise and expand on it—could you let me know which specific part or topic you’re referring to? That way, I can tailor the revision to fit your needs perfectly. alonzojunkmovers.com/junk-removal-palmdale-ca
lawrencevilleconcrete
Jul 15, 2024 16:55
The issue tracker entry discusses a problem related to the Android platform in Unity3D, specifically involving errors with the HttpClient.GetAsync method and "unable to find libc. Get more details with Lawrenceville Concrete.
hackson023
Apr 12, 2024 07:15
Awesome content, very interesting! roofingburnaby.com
clearwaterconcrete
Apr 09, 2024 11:03
Users facing this issue might need to check for updates or patches from Unity3D or seek support from the Unity community to resolve it.
broooksk99
Jun 10, 2021 03:59
roofinggrandjunction.com
broooksk99
Jun 10, 2021 03:56
This type of message always inspiring and I prefer to read. roofinggrandjunction.com
oneclickinfluence2020
Apr 16, 2021 04:21
Water is one of the most destructive natural forces and your roof sheds a lot of it when it rains. One of the most effective ways of protecting your building from water damage and flooding is by installing a gutter on your roof. This catches and channels the water properly so your building is protected.
Visit our website at largogutters.com
oneclickinfluence2020
Feb 14, 2021 02:03
erieconstructionpros.com has the wealth of experience, professionalism, and equipment to ensure that your excavation and general construction needs are fully met.
oneclickinfluence2020
Feb 13, 2021 19:17
stcatharinesconcrete.com offers professional concrete contracting services. We are a team of expert and certified contractors that have years of experience designing and installing concrete surfaces in St Catharines. Our team uses the latest technologies and machinery to ensure your product is perfect and looks amazing.