Search Issue Tracker

Fixed in 2019.3

Fixed in 2018.4, 2019.2

Votes

36

Found in

2018.1.0b13

Issue ID

1022228

Regression

No

[Android][Mono][IL2CPP] "Unable to find libc" error thrown when executing certain SslStream constructor

Scripting

-

How to reproduce:
1. Open user attached project
2. Build to Android device
3. Run the logcat and run the application

Result: "Unable to lookup library path for 'libc', native render plugin support disabled" and "Unable to find libc" errors can be seen once executing the SslStream constructor at launch

Reproducible with - 2018.2.0b2, 2018.1.0f2, 2017.4.2f2, 2017.3.0a1

Fixed in - 2019.3.0a11

Notes:
1. Reproduced this with both IL2CPP and Mono with .NET 4.6
2. Did not reproduce the error with .NET 3.5

DUT:
Reproducible with:
Google Pixel 2 XL*, OS:8.1.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:google/taimen/taimen:8.1.0/OPM1.171019.011/4448085:user/release-keys
Samsung SM G930F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880, Build:samsung/heroltexx/herolte:7.0/NRD90M/G930FXXU1DQC4:user/release-keys
Samsung SM G903F*, OS:6.0.1, CPU:armeabi-v7a, GPU:Mali-T720, Build:samsung/s5neoltexx/s5neolte:6.0.1/MMB29K/G903FXXU1BQC1:user/release-keys

Comments (16)

  1. B827f010b2fbd61df7139a2586dbdad8?d=mm

    jazibraza53

    Feb 25, 2020 10:26

    this is really nice to read..informative post is very good to read..thanks a lot!
    TLK https://trulylovelykitchen.com/

  2. B827f010b2fbd61df7139a2586dbdad8?d=mm

    jazibraza53

    Feb 22, 2020 15:41

    Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return.
    Atherosclerosis https://detonic.shop/

  3. B827f010b2fbd61df7139a2586dbdad8?d=mm

    jazibraza53

    Feb 19, 2020 15:26

    Wow, cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though.
    Mississauga Mold Removal https://www.gtamoldremoval.com/mississauga.html

  4. Db3fe5540f467c437e080c4992cbde36?d=mm

    shaikhraza787

    Feb 08, 2020 13:47

    I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day!
    click this site https://neuroreliefketamine.com/

  5. Db3fe5540f467c437e080c4992cbde36?d=mm

    shaikhraza787

    Jan 30, 2020 11:43

    Your website is really cool and this is a great inspiring article.
    sushi https://www.sushisushinyc.com

  6. 085333b6e08661ea5ce9c755de8a00ce?d=mm

    farhan_unity781

    Dec 19, 2019 10:09

    Found again in 2019.2.17f

  7. 0a7e551cbfd79af244bca54f841b51a7?d=mm

    jfawcett

    Jun 06, 2019 02:32

    Hey everyone, I figured this out. More truthfully, the guy at RenderHeads that answered my post figured it out.

    Under Plugins/Android/Libs/arm64-v8a, highlight each file in the inspector. Make sure the file is targeted for Android and ARM64. None of the files in my folder were targeted.

    I also made sure I was only building for ARM64. Somehow I'd gotten ARM-7 checked too.

    Built and deployed without problems.

    Just passing this along, really. The guy to thank is AndrewRH at Renderheads.

    Have fun!

    John

  8. 1d265aa5d1f9aa86f2dc31fa2b6718f1?d=mm

    MagnusJ

    May 17, 2019 18:25

    Same here. reproducible on Nexus 7 and a bunch of other devices:
    Unity 2019.1.3f1

    Auto Graphics API enabled
    Scripting Runtime Version: ".NET 4.x Equivalent"
    Scripting Backend: "Mono"
    Api compatibility level: ".Net Standard 2.0"

    After the Unity splash screen, just a black screen of death with this logged in Logcat:
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
    05-17 20:18:23.001 15366-15419/? E/Unity: Unable to find libc

  9. Be19ec28c5d597559cd03ec107d8e040?d=mm

    FunRobDev

    Apr 25, 2019 21:28

    "Unable to find libc" exeption logged in Android Device Monitor/LogCat

    Sometimes the whole app freezes and not responding more!

    Apk built by Unity 2019.1.0f2 (64-bit) ,
    Scripting Runtime Version: ".NET 4.x Equivalent"
    Scripting Backend: "Mono"
    Api compatibility level: ".Net Standard 2.0"
    Managed Stripping level: "disabled"

    c:\Program Files\Unity\Hub\Editor\2019.1.0f2\Editor\Data\MonoBleedingEdge\lib\mono\4.5\System.ServiceModel.Web.dll
    c:\Program Files\Unity\Hub\Editor\2019.1.0f2\Editor\Data\MonoBleedingEdge\lib\mono\4.5\System.ServiceModel.dll
    are copied under Asset folder to compile code which class WCF/REST service.

    Please fix this bug!

  10. 2561b5e501a377d4305387eb0c09cde2?d=mm

    NGC6543

    Feb 22, 2019 01:51

    I was able to reproduce the "Unable to find libc" on Unity2019.1.0b4 + LWRP v5.3.1 on Android Device with OpenGLES2.0 Graphics API.

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.