Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Crash in libunity.so increasing in new unity versions

Discussion in 'Android' started by casreis07, Jan 27, 2023.

  1. casreis07

    casreis07

    Joined:
    Dec 20, 2017
    Posts:
    2
    I have a mobile game made in Unity which has increasing crash rates as I upgrade the Unity version.

    In this project, crash rates used to be less than 0.1% in Unity 2019 LTS, but over the years, each upgrade in unity increased the crash rates. Recently we’ve updated to unity 2022 LTS, and the crash rates spiked to 15%+.

    Crashlytics shows most of the crashes being caused by libunity.so (SS attached)
    The logs are from libunity.so and we don’t have access to the source code.
    Here are some build settings specifications (SS attached)


    I found these similar issues but with no resolution to our case: https://stackoverflow.com/questions/74851133/libunity-so-play-console-crash https://stackoverflow.com/questions/72004225/unity-android-build-crash https://stackoverflow.com/questions...es-after-unity-loading-splash-screen-finishes https://forum.unity.com/threads/crash-in-libunity-so.1099300/

    We downgraded the project to Unity 2020 LTS and the crashes reduced 85%. But many users complained that the game won't start and session time dropped 50% (Unity version was the only change made in this version compared to the last one).

    stack trace 1.png stack trace 2.png stack trace 1.png stack trace 2.png build settings.png build settings 2.png build settings 3.png
     
    kojiMarunouchi likes this.
  2. casreis07

    casreis07

    Joined:
    Dec 20, 2017
    Posts:
    2
    Here's a SS of the physics settings:
    build settings 4.png
     
    kojiMarunouchi likes this.