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 unity android game crashes

Discussion in 'Android' started by dongdong007, Sep 5, 2023.

  1. dongdong007

    dongdong007

    Joined:
    Jul 17, 2018
    Posts:
    10
    Hello everyone, I have encountered many crashes in our online games, but I can't find the problem, ask the official technology to give a solution or reply, thank you. Will my plan to replace unity 2021.3.29 fix this?
    The basic error information is as follows:
    armeabi_v7a:
    backtrace:
    #00 pc 0x000000000043987c /data/app/~~BAyjVhVLNKdjQU5HRb_kfQ==/com.final.cast.game-lgaIipzvcENVNxaqY0mg2A==/split_config.armeabi_v7a.apk!libunity.so
    #01 pc 0x00000000004393b7 /data/app/~~BAyjVhVLNKdjQU5HRb_kfQ==/com.final.cast.game-lgaIipzvcENVNxaqY0mg2A==/split_config.armeabi_v7a.apk!libunity.so
    #02 pc 0x0000000000d0086d /data/app/~~BAyjVhVLNKdjQU5HRb_kfQ==/com.final.cast.game-lgaIipzvcENVNxaqY0mg2A==/split_config.armeabi_v7a.apk!libunity.so

    Device:samsung a10 (Galaxy A10),motorola lima,Redmi dandelion,motorola malta,Redmi angelican
    Android version:Android 10,Android 11,Android 12

    arm64_v8a:
    backtrace:
    #00 pc 0x000000000065dab4 /data/app/~~PLq-H2MDgQIOYcmmFm-EKw==/com.final.cast.game-89ipC8Vluhwr5mVeem37og==/split_config.arm64_v8a.apk!libunity.so
    #01 pc 0x000000000065d348 /data/app/~~PLq-H2MDgQIOYcmmFm-EKw==/com.final.cast.game-89ipC8Vluhwr5mVeem37og==/split_config.arm64_v8a.apk!libunity.so
    #02 pc 0x00000000010d3eb8 /data/app/~~PLq-H2MDgQIOYcmmFm-EKw==/com.final.cast.game-89ipC8Vluhwr5mVeem37og==/split_config.arm64_v8a.apk!libunity.so

    Device:samsung a03s (Galaxy A03s),Motorola Penang,lge mdh40lm,motorola blackjack,motorola cebu
    Android version:Android 10,Android 11,Android 12,Android 13

    unity version:2019.4.40 f1

    Attach the error log file
     

    Attached Files:

  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,653
    Use development build, otherwise you get these unreadable stack traces.
     
  3. dongdong007

    dongdong007

    Joined:
    Jul 17, 2018
    Posts:
    10
    This is the release version, we can not use development build, is there any other way to locate or solve this problem?Or provide us with posts about similar issues, or fix them by upgrading unity
     
  4. dongdong007

    dongdong007

    Joined:
    Jul 17, 2018
    Posts:
    10
    use development build, new log as follows:

    # Crashlytics - Stack trace
    # Application: com.final.cast.game
    # Platform: android
    # Version: 1.0.0
    # Issue: c358e70c349c017f9626f1408cad9d6f
    # Session: 64F922D0028A00010C86F836E6967888_DNE_0_v2
    # Date: Thu Sep 07 2023 12:02:29 GMT+0900 (Japan Standard Time)

    Fatal Exception: Tombstone: Version '2019.4.40f1 (ffc62b691db5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    Build fingerprint: 'samsung/j4primelteub/j4primelte:9/PPR1.180610.011/J415GUBS6BVK3:user/release-keys'
    Revision: '6'
    ABI: 'arm'
    Timestamp: 2023-09-07 00:02:18-0300
    pid: 3206, tid: 31059, name: UnityMain >>> com.final.cast.game <<<
    uid: 10949
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    Cause: null pointer dereference
    r0 00000000 r1 8e2bfe1a r2 00000041 r3 80000000
    r4 8a40b968 r5 8a40bd10 r6 00000000 r7 8f15f690
    r8 8a40b968 r9 8f1600dc r10 8f160180 r11 8f15f690
    ip b1927cf0 sp 8f15f628 lr 8d8ded0c pc 8d7c53fc


    #00 pc 0x39a3fc split_config.armeabi_v7a.apk (BeginsWith(char const*, char const*)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #01 pc 0x4b3d08 split_config.armeabi_v7a.apk (ApiGLES::FillExtensions(dynamic_array<core::basic_string_ref<char>, 0u>&)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #02 pc 0x4b3918 split_config.armeabi_v7a.apk (ApiGLES::Init(GfxContextGLES const&, GfxDeviceLevelGL&)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #03 pc 0x4a2580 split_config.armeabi_v7a.apk (GfxDeviceGLES::Init(GfxDeviceLevelGL)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #04 pc 0x4a19e0 split_config.armeabi_v7a.apk (CreateGLESGfxDevice(GfxDeviceRenderer)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #05 pc 0x242df7 split_config.armeabi_v7a.apk (CreateClientGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #06 pc 0x65eb90 split_config.armeabi_v7a.apk (CreateGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #07 pc 0x65ee20 split_config.armeabi_v7a.apk (InitializeGfxDevice()) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #08 pc 0x43df13 split_config.armeabi_v7a.apk (AndroidGraphics::Startup()) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #09 pc 0x430705 split_config.armeabi_v7a.apk (UnityInitApplication()) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #10 pc 0x431231 split_config.armeabi_v7a.apk (UnityPlayerLoop()) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #11 pc 0x43f191 split_config.armeabi_v7a.apk (nativeRender(_JNIEnv*, _jobject*)) (BuildId: 4e44c0cde873a8afab5f08d115e78e3568d3e9d4)
    #12 pc 0xa27a3 base.odex (base.0xa27a3)

    Caused by java.lang.Error [Native Crash, signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)]: FATAL EXCEPTION [UnityMain]; Cause: null pointer dereference
     
  5. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,653
    Much better. Submit a bug report via Unity editor so our graphics guys can look into it. It doesn't look something we'll be able to guess here.
     
  6. dongdong007

    dongdong007

    Joined:
    Jul 17, 2018
    Posts:
    10
    Already feedback