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. Dismiss Notice

Question Crash in Android 2022.3.3f1

Discussion in 'Entity Component System' started by mati2762, Jun 22, 2023.

  1. mati2762

    mati2762

    Joined:
    Dec 26, 2017
    Posts:
    23
    Hi, I updated my game to Unity ECS 1.0. I use Unity 2022.3.3f1
    Code (CSharp):
    1. "com.unity.burst": "1.8.7",
    2. "com.unity.entities": "1.0.11",
    3. "com.unity.entities.graphics": "1.0.11",
    4. "com.unity.physics": "1.0.11",
    In Unity Editor is everything works fine but when I build to Android and run in my phone. In specific case my game crash with this logCat info.

    Code (CSharp):
    1.  
    2. *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    3. Version '2022.3.3f1 (7cdc2969a641)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    4. Build fingerprint: 'xyz'
    5. Revision: '0'
    6. ABI: 'arm64'
    7. Timestamp: 2023-06-22 16: 50: 23.018508694+0200
    8. pid: 29067, tid: 29104, name: GC Finalizer  >>> com.MyGame <<<
    9. uid: 10482
    10. signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr --------
    11.     x0  0000007324457880  x1  b40000730028a410  x2  000000000000001e  x3  00000073233bf58a
    12.     x4  0000000000000011  x5  0000000000000000  x6  0000000000000000  x7  000000738ec95240
    13.     x8  0000007324657880  x9  00000072f0000000  x10 0000000010000000  x11 0000000000000000
    14.     x12 00000072f026d7f0  x13 000000000001cfbb  x14 0000000000000000  x15 0000000000000001
    15.     x16 000000730f142ee8  x17 000000745aeb7f10  x18 0000007300d10000  x19 0000007324465bc0
    16.     x20 0000007324465bc0  x21 000000000000001e  x22 000000000000001e  x23 0000007324454e66
    17.     x24 0000000000000018  x25 000000000000324c  x26 0000000000003250  x27 ffffff5a00000000
    18.     x28 0000000000002a28  x29 00000073017fbb00
    19.     lr  00000073236a0530  sp  00000073017fba40  pc  00000073236a325c  pst 0000000000001000
    20. backtrace:       #00 pc 000000000041b25c  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libunity.so (BuildId: 5d7b6cfceecb8c49)
    21.       #01 pc 000000000041852c  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libunity.so (BuildId: 5d7b6cfceecb8c49)
    22.       #02 pc 000000000041831c  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libunity.so (BuildId: 5d7b6cfceecb8c49)
    23.       #03 pc 000000000041a84c  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libunity.so (BuildId: 5d7b6cfceecb8c49)
    24.       #04 pc 0000000003cb082c  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    25.       #05 pc 0000000001fac940  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    26.       #06 pc 0000000001fac88c  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    27.       #07 pc 0000000001fc3288  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    28.       #08 pc 0000000001fced58  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    29.       #09 pc 0000000001fc31d0  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    30.       #10 pc 0000000001f9b1a0  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    31.       #11 pc 0000000001f6b170  /data/app/~~is0R4sJ5mrQy5E-TTsV00A==/com.MyGame-JiPr3VZsleNHNnXX2wc5wQ==/lib/arm64/libil2cpp.so (BuildId: a4fc5d05dee242d5)
    32.       #12 pc 00000000000deb44  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: bbbdeb7c87c74f1491f92c6e605095b0)
    33.       #13 pc 000000000007b2fc  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: bbbdeb7c87c74f1491f92c6e605095b0)
    34. Forwarding signal 11
    35. Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x73246578c0 in tid 29104 (GC Finalizer), pid 29067 (yMyGame)
    36.  
    Someone have solution ?
     
  2. mati2762

    mati2762

    Joined:
    Dec 26, 2017
    Posts:
    23
    Solved
     
  3. desertGhost_

    desertGhost_

    Joined:
    Apr 12, 2018
    Posts:
    258
    It would helpful to others who may have this problem if you gave a simple explanation of how you solved the problem.
     
  4. mati2762

    mati2762

    Joined:
    Dec 26, 2017
    Posts:
    23
    The problem occurred due to incorrect handling of the AnimationCurve within the LineRenderer by my code. It is important to clarify that this issue is not related to DOTS ECS.
     
    Laicasaane likes this.