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

  1. 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

  2. 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

  3. 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!

  4. 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.

  5. Bca97f76c6dfee00a6b484b8157cf8c3?d=mm

    ZDestructor

    Jan 25, 2019 20:15

    I'm getting the error "Unable to find libc" with 2018.3.3. It happens during app startup, and the app eventually crashes with no other useful error messages.

  6. 0a7e551cbfd79af244bca54f841b51a7?d=mm

    jfawcett

    Nov 20, 2018 01:36

    Still there in 2018.2.16f1

  7. 253c229e4c3aa818e655bb295c215ae5?d=mm

    SketchWork

    Oct 14, 2018 18:45

    And in 2018.2.12f1

  8. 125749d05c546c6838197abdaa9f1e20?d=mm

    derroboter

    Sep 24, 2018 12:42

    I can confirm that version 2018.2.5f1 has the bug

  9. 125749d05c546c6838197abdaa9f1e20?d=mm

    derroboter

    Sep 24, 2018 12:42

    I can confirm that version 2018.2.5f1 has the bug

  10. E284bab5796f863bd6f5ec454add1df1?d=mm

    gfsdfg

    Sep 24, 2018 12:38

    also found in 2018.2.5f1

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.