Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 2019.2.8f IL2CPP crash, but not Mono

Discussion in 'Android' started by justtime, Oct 11, 2019.

  1. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    Hello! When I switched to the IL2CPP build, I got a lot of crashes of this type. I tested this in Android 6 and 10 on different phones with same result.
    If you need source, i could sent it to Unity team member via pm. Or even all project via bug report.
    Here is my crashalytics report
    Code (CSharp):
    1. Fatal Exception: java.lang.Error: FATAL EXCEPTION [UnityMain]
    2. Unity version     : 2019.2.8f1
    3. Device model      : Google Pixel 3a
    4. Device fingerprint: google/sargo/sargo:10/QP1A.190711.020.C3/5869620:user/release-keys
    Code (CSharp):
    1. Caused by java.lang.Error: signal 6 (SIGABRT), code -1 (?), fault addr --------
    2. Build fingerprint: 'google/sargo/sargo:10/QP1A.190711.020.C3/5869620:user/release-keys'
    3. Revision: 'MP1.0'
    4. pid: 6459, tid: 6665, name: UnityMain  >>> com.test.test<<<
    5.     r0 00000000  r1 00001a09  r2 00000006  r3 9c4fc050
    6.     r4 9c4fc064  r5 9c4fc048  r6 0000193b  r7 0000016b
    7.     r8 9c4fc060  r9 9c4fc050  sl 9c4fc080  fp 9c4fc070
    8.     ip 00001a09  sp 9c4fc020  lr e968f6c3  pc e968f6d6  cpsr bc901780
    9.  
    10.        at libc.abort(abort)
    11.        at libil2cpp.__gnu_cxx::__verbose_terminate_handler()(__verbose_terminate_handler:226)
     
  2. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    Anyone?
     
  3. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,875
    The stacktrace has only 2 frames? Is there more log ?
     
  4. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    There are a lot of code, but all of this related to fabric calls.


    How should i properly get full log from device?

    Update:have sent to you via pm logcat report.
     
    Last edited: Oct 12, 2019
  5. BigRedGames

    BigRedGames

    Joined:
    Jun 25, 2016
    Posts:
    48
    I'm having the same issue, I couldn't replicate on empty project, because it involves implement all game again, because I haven't certainly where is the problem. My suspect is that is being caused by the stripping process.