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.
Comments (83)
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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
cedarcitycconcrete
Jul 14, 2025 16:15
This issue highlights a common compatibility problem when using HttpClient with .NET 4.6 in Unity on Android. Switching to UnityWebRequest or adjusting the scripting backend often resolves the missing libc error.
athensconcrete55
Jul 10, 2025 10:40
This Unity Issue Tracker page documents a bug where HttpClient.GetAsync fails on Android using .NET 4.6 due to a missing libc library, affecting network requests. The report includes reproduction steps, affected versions, and potential workarounds or updates.
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.
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.
noshigul80
Sep 03, 2020 06:13
Great article, loved the information shared.
MechEthan
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.
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.
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.
iBicha
Jan 06, 2019 04:33
Still in 2018.3.0f2 and 2019.1.0a13
SketchWork
Oct 14, 2018 18:48
Unable to find Libc error still present in 2018.2.12f1