Search Unity

Unity 2019.x IL2CPP crash on Android 8

Discussion in 'Android' started by GuruGurra, May 7, 2019.

  1. Skylabs

    Skylabs

    Joined:
    Aug 25, 2017
    Posts:
    3
    Hi,

    on 2019.3.5f1 and 2019.3.6f1 i have the same problem. Like @RaadGame ...

    We tried the change with the manifest but it doesn't work.

    That's a bit hard to have such crash when you can do nothing to fix it ....
     
  2. YoNeyers

    YoNeyers

    Joined:
    Feb 10, 2017
    Posts:
    32
    hey,
    when i was using unity 2018.3.13f1 there's no problem..
    but when i made a new update to my game on Unity 2019.X,
    i tried all the versions of it, but the problem still happen..

    i want go back to 2018.3.13f1 but i can't , becuse my project has got a lot of errors,
    becuse i built it on 2019.X :(

    https://issuetracker.unity3d.com/is...65.580823558.1584461779-1356675340.1566413439

    i'll try 2020.1 maybe it will help
     
  3. YoNeyers

    YoNeyers

    Joined:
    Feb 10, 2017
    Posts:
    32
  4. BigRedGames

    BigRedGames

    Joined:
    Jun 25, 2016
    Posts:
    48
    Hey guys for this kind of error try change the IL2CPP's config C++ Compiler Config to Debug. This solution solves the crash problem for the most cases. But today I received another similar bug that happened on the Samsung S8 even with this solution.
     
  5. roointan

    roointan

    Joined:
    Jan 8, 2018
    Posts:
    78
    I have this issue for my users, but can't reproduce it on my own phone.
    Can somebody help me in reproducing this? Maybe just your phone model helps.
     
  6. BMayzak

    BMayzak

    Joined:
    Nov 7, 2016
    Posts:
    22
    Had this issue occur in 2019.1.6f1 pretty far into our app's development.

    It seems to be an issue with google backup data being restored when re-installing a fresh version of the app, and that data no longer meshing with newest changes. On new devices we experience no issues with fresh installs, but on my dev device (that has had countless reinstalls) it's an issue. By disabling Backup on my dev device I was able to install and run perfectly; I then re-enabled Backup and it's clear sailing from then on.

    (Clearing User Data also works, but only on the current install. If the app is re-installed the garbage data is brought back)

    If we run into this issue again, we'll likely upgrade to 2019.2
     
  7. Arctous

    Arctous

    Joined:
    Aug 25, 2014
    Posts:
    26
    I upgraded from 2018.3.14f1 to 2019.3.11f1 and the issue is still there. I did not have this issue on 2018.3.14f1.
     
  8. roointan

    roointan

    Joined:
    Jan 8, 2018
    Posts:
    78
    We had to downgrade to LTS 2018 to get rid of this issue on our users.
     
  9. swifter14

    swifter14

    Joined:
    Mar 2, 2017
    Posts:
    165
    Had the same problem with Unity 2019.3.13f1 TextusGames 's solution fixed the issue for me. Thank you
     
  10. YoNeyers

    YoNeyers

    Joined:
    Feb 10, 2017
    Posts:
    32
    StartStart likes this.
  11. rgbsafia

    rgbsafia

    Joined:
    Jan 25, 2020
    Posts:
    2
    Does the problem happen with Unity 2020.1.6?
     
  12. onurerler

    onurerler

    Joined:
    Apr 10, 2013
    Posts:
    35
    Firebase not working and lots of crashes on some devices (Moto e5, galaxy J7)

    We have been experiencing stability problems and a lot of crashes since moving to unity 2019. The situation looks the same in unity 2020. We couldn't send bug report to unity because we cannot reproduce crashes on our own devices but in google console our crash rate higher than bad behaviour threshold.
     
    Last edited: Sep 25, 2020
  13. premk

    premk

    Joined:
    Jan 4, 2015
    Posts:
    4
    This crash is occurring in Unity Version 2019.4.8f1. The forum posts say it got fixed in 2019.2.6f1. Is this fix not available in 2019.4.8f1 ?

    Fatal Exception: java.lang.Error: FATAL EXCEPTION [main]
    Unity version : 2019.4.8f1
    Device model : samsung SM-J700F
    Device fingerprint: samsung/j7eltexx/j7elte:6.0.1/MMB29K/J700FXXU4BRL2:user/release-keys

    Appreciate any help to fix this issue as it is affecting users and they are giving bad ratings due to this crash. Please can somebody provide a workable fix?
     
  14. Ozzy

    Ozzy

    Joined:
    Apr 3, 2013
    Posts:
    3
    Having the same problem on Unity 2019.3.10f1... Can't reproduce on my own device though... I'm using the Google Play Instant Plugin, and can't disable autoBackup because it a required feature for instant games. My game had been approved to be featured on the Google Play games page, and now they said it can't be featured because it is crashing :(
     
  15. junho9495

    junho9495

    Joined:
    Jul 8, 2021
    Posts:
    1
    I also suffered from this problem all day long. But I solved it.
    First, I updated from the Unity 2020.1.7f1 version to the 2021.1.16f1 version.
    Then, the well-remembered Error
    It was solved by importing Unity.Entities 0.17.0-preview.41 package.
    After that, a problem occurred that both APK and Abb that were bulid turned off when turned on for the first time.

    I tried the auto-restore code false in "AndroidManifest" like the answers above, but it didn't work.

    Search results for other error codes in Log Cat
    I could see that the Unity.Entities 0.17.0-preview.41 package was the problem.
    Deleting it solved the problem.

    Hope this helps people who can't get it to work even when changing the info in AndroidManifest.

    reference.
    https://stackoverflow.com/questions/67515444/unity-project-works-only-in-development-build-on-il2cpp
    https://unity928.rssing.com/chan-30531769/all_p23971.html
     
  16. dthudelson

    dthudelson

    Joined:
    Jul 28, 2021
    Posts:
    1
    Solved: Hey this issue happened to me on the newest version of unity 2021.1.15f1.
    I found that the issue (for me anyway) stemmed from the fact that my game was created on an older version of unity and then I upgraded to the new version, then edited my game using the new version.

    To fix the issue of the game crashing on start when built with il2ccp, I created a new project using the newest version of unity and copied my assets over to the new project. Once I set up the player settings again, the app started working correctly.
     
  17. xLeo

    xLeo

    Joined:
    Sep 21, 2010
    Posts:
    194
    Wouldn't just deleting the Library directory have the same effect?
     
  18. gisinator

    gisinator

    Joined:
    Jan 23, 2021
    Posts:
    11
    In my case, that did the trick. Thank you, xLeo :)
    I had used 2020.3.xyz and upgraded my way to 2020.3.16f when I finally chose IL2CPP and ARM64 since Google Playstore requires 64 bit. From then on, the app crashed right away on my device.

    Deleting Library folder did the trick! Great!
     
  19. GoodAUB

    GoodAUB

    Joined:
    Apr 1, 2017
    Posts:
    11

    thank you very much for your help.
    I copied the files and made the built on Unity 2020.3.48f1.