Search Unity

Failed to load 'libmain.so' - mobile error

Discussion in 'Editor & General Support' started by Lymptx, Mar 3, 2021.

  1. Lymptx

    Lymptx

    Joined:
    Jun 9, 2020
    Posts:
    2
    Hello there,
    I am trying to publish an android game on the Google Play Store. Everything is working properly, when building the app directly to a phone. But when downloading from Google play, the game does not work and throws this error:

    Failure to initialize!
    Your hardware does not support this application.
    Failed to load 'libmain.so' java.lang.UnsatisfiedLinkError: dlopen failed:: library "/data/app/com.BEROGames.SavetheSun-ODYV3shfoBulgpXzv6f1hw==/lib/arm/libmain.so" not found
    Press OK to quit

    libmain.so.png

    This game was tested on 5 different devices with the same error result. I don't know if these informations are important, but maybe you can help me with them: The project is on HDRP (not ideal for mobile performance, I know, but it works fine with 30fps), Armv7 and Arm64 are enabled and Scripting Backend is on IL2CPP.

    What causes this error?
    Thank you for your help in advance.

    Edit:
    I have noticed that the string after "/data/app/com.BEROGames.SavetheSun-" changes every time I install the app. (see the picture and the error text)
     
    Last edited: Mar 4, 2021
    FlynnyMac likes this.