Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by MikDab · Mar 11, 2019 at 11:16 AM · android buildil2cppstackcorrupt

Android build crash - stack corruption detected Unity 2018.3.8f1

Hi,

I've been consistently experiencing the same type of crash in my android build and I can reproduce it reliably. It happens at a specific point in the game 100% of the time. I've looked into GC, memory issues, bad code which could cause leaks or anything of the sort. Tried numerous different settings (mono, Il2cpp, .Net 2.0 & .Net 4.x, different architectures, different android API versions, etc.) when building the game, the crash still happens. The profiler doesn't show anything suspicious. It only happens when I build to android, and not in the editor or standalone. The game currently is quite small.

  • Details on the circumstances of the crash:

A mesh, upon hit by a collider, is being "cut" into two new meshes. These meshes, upon instantiation, are given rigidbodies (only the parents), and convex mesh colliders. Some of the meshes before the "cut" are baked (because some of them are skinned meshes). The crash only happens upon the first "cut" on the initial skinned mesh (the new mesh pieces can be cut as well, and that happens a lot, but none of the crashes have happened after the initial cut was successful).

  • Crash report

This is the most informative crash report I have received as of yet. At first I thought that there was some sort of memory leak. But now it seems that the physics are involved? (app name is hidden)

This crash occured after about 20 minutes of runtime (Android 8.1)

 03-10 10:51:55.975: A/libc(6993): stack corruption detected
 03-10 10:51:56.077: D/Unity(6993): NativeCrashSerializer::EndReport() Success!
 03-10 10:51:56.077: E/CRASH(6993): signal 6 (SIGABRT), code -6 (?), fault addr --------
 03-10 10:51:56.077: E/CRASH(6993): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 03-10 10:51:56.077: E/CRASH(6993): Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
 03-10 10:51:56.077: E/CRASH(6993): Build fingerprint: 'lge/h1_global_com/h1:7.0/NRD90U/171071320bbd5:user/release-keys'
 03-10 10:51:56.077: E/CRASH(6993): Revision: '13'
 03-10 10:51:56.077: E/CRASH(6993): pid: 6993, tid: 7020, name: Job.Worker 1  >>> ##### <<<
 03-10 10:51:56.077: E/CRASH(6993):     x0   0000000000000000  x1   0000000000001b6c  x2   0000000000000006  x3   0000000000000008
 03-10 10:51:56.077: E/CRASH(6993):     x4   000000744b642988  x5   0080000000808080  x6   0000000000000000  x7   0000000000000010
 03-10 10:51:56.077: E/CRASH(6993):     x8   0000000000000083  x9   ffffffffffffffdf  x10  0000000000000000  x11  0000000000000001
 03-10 10:51:56.077: E/CRASH(6993):     x12  ffffffffffffffff  x13  0000000000000000  x14  0000000000000000  x15  003a27c9d776ed1e
 03-10 10:51:56.077: E/CRASH(6993):     x16  0000007455211ed0  x17  00000074551bb378  x18  000000000000003e  x19  000000744b6434f8
 03-10 10:51:56.078: E/CRASH(6993):     x20  0000000000000006  x21  000000744b643450  x22  0000000000000000  x23  0000000000000000
 03-10 10:51:56.078: E/CRASH(6993):     x24  0000000000000001  x25  000000744b642b80  x26  000000744b642ba0  x27  000000744b642c70
 03-10 10:51:56.078: E/CRASH(6993):     x28  000000744b642d20  x29  000000744b642630  x30  00000074551b8808
 03-10 10:51:56.078: E/CRASH(6993):     sp   000000744b642610  pc   00000074551bb380  pstate 0000000060000000
 03-10 10:51:56.078: E/CRASH(6993): backtrace:
 03-10 10:51:56.127: E/CRASH(6993):     #00  pc 00000000000004dc  [vdso] ()
 03-10 10:51:56.127: E/CRASH(6993):     #01  pc 000000000006c37c  /system/lib64/libc.so (tgkill+4)
 03-10 10:51:56.127: E/CRASH(6993):     #02  pc 0000000000069804  /system/lib64/libc.so (pthread_kill+64)
 03-10 10:51:56.127: E/CRASH(6993):     #03  pc 0000000000024618  /system/lib64/libc.so (raise+24)
 03-10 10:51:56.127: E/CRASH(6993):     #04  pc 000000000001d034  /system/lib64/libc.so (abort+52)
 03-10 10:51:56.127: E/CRASH(6993):     #05  pc 0000000000021624  /system/lib64/libc.so (__libc_fatal+104)
 03-10 10:51:56.127: E/CRASH(6993):     #06  pc 000000000006b24c  /system/lib64/libc.so (__stack_chk_fail+16)
 03-10 10:51:56.127: E/CRASH(6993):     #07  pc 0000000001534dec  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2Gu25PersistentContactManifold19reduceBatchContactsEPKNS0_17PersistentContactEjf+1872)
 03-10 10:51:56.127: E/CRASH(6993):     #08  pc 0000000001534e50  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2Gu25PersistentContactManifold24addBatchManifoldContactsEPKNS0_17PersistentContactEjf+96)
 03-10 10:51:56.127: E/CRASH(6993):     #09  pc 000000000150e69c  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2GuL34fullContactsGenerationConvexConvexERKNS0_11ConvexHullVERS1_RKNS_6shdfnd3aos12PsTransformVES9_bbPNS0_17PersistentContactERNS0_13ContactBufferERNS0_25PersistentContactManifoldER13__Float32x4_tRKSG_SJ_RK13__Float32x2_tbPNS_2Cm12RenderOutputEf+368)
 03-10 10:51:56.127: E/CRASH(6993):     #10  pc 000000000150e394  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2Gu22pcmContactConvexConvexERKNS0_13GeometryUnionES3_RKNS_11PxTransformES6_RKNS0_17NarrowPhaseParamsERNS0_5CacheERNS0_13ContactBufferEPNS_2Cm12RenderOutputE+4920)
 03-10 10:51:56.127: E/CRASH(6993):     #11  pc 000000000145f45c  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx25PxcDiscreteNarrowPhasePCMERNS_18PxcNpThreadContextERKNS_13PxcNpWorkUnitERNS_2Gu5CacheERNS_23PxsContactManagerOutputE+612)
 03-10 10:51:56.127: E/CRASH(6993):     #12  pc 0000000001474274  /data/app/#####-1/lib/arm64/libunity.so (_ZN23PxsCMDiscreteUpdateTask10processCmsIXadL_ZN5physx25PxcDiscreteNarrowPhasePCMERNS1_18PxcNpThreadContextERKNS1_13PxcNpWorkUnitERNS1_2Gu5CacheERNS1_23PxsContactManagerOutputEEEEEvPS2_+388)
 03-10 10:51:56.127: E/CRASH(6993):     #13  pc 00000000014740c8  /data/app/#####-1/lib/arm64/libunity.so (_ZN23PxsCMDiscreteUpdateTask11runInternalEv+252)
 03-10 10:51:56.127: E/CRASH(6993):     #14  pc 00000000005160ec  /data/app/#####-1/lib/arm64/libunity.so (_ZL12PhysxJobFuncPN5physx10PxBaseTaskE+156)
 03-10 10:51:56.127: E/CRASH(6993):     #15  pc 0000000000a27598  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue4ExecEP7JobInfoxi+132)
 03-10 10:51:56.127: E/CRASH(6993):     #16  pc 0000000000a27a58  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue31ExecuteJobFromHighPriorityStackEv+56)
 03-10 10:51:56.127: E/CRASH(6993):     #17  pc 0000000000a27c10  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue11ProcessJobsEPv+192)
 03-10 10:51:56.127: E/CRASH(6993):     #18  pc 0000000000a26ea0  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue8WorkLoopEPv+132)
 03-10 10:51:56.127: E/CRASH(6993):     #19  pc 0000000000b54ccc  /data/app/#####-1/lib/arm64/libunity.so (_ZN6Thread16RunThreadWrapperEPv+668)
 03-10 10:51:56.127: E/CRASH(6993):     #20  pc 000000000006900c  /system/lib64/libc.so (_ZL15__pthread_startPv+196)
 03-10 10:51:56.127: E/CRASH(6993):     #21  pc 000000000001e278  /system/lib64/libc.so (__start_thread+16)
 

  • Another crash.

This one happened only after 20~ seconds of runtime (Android 9)

 03-10 12:05:04.874: A/libc(12209): stack corruption detected
 03-10 12:05:04.942: D/Unity(12209): NativeCrashSerializer::EndReport() Success!
 03-10 12:05:04.942: E/CRASH(12209): signal 6 (SIGABRT), code -6 (?), fault addr --------
 03-10 12:05:04.942: E/CRASH(12209): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 03-10 12:05:04.942: E/CRASH(12209): Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
 03-10 12:05:04.942: E/CRASH(12209): Build fingerprint: 'lge/h1_global_com/h1:7.0/NRD90U/171071320bbd5:user/release-keys'
 03-10 12:05:04.942: E/CRASH(12209): Revision: '13'
 03-10 12:05:04.943: E/CRASH(12209): pid: 12209, tid: 12238, name: Job.Worker 1  >>> ##### <<<
 03-10 12:05:04.943: E/CRASH(12209):     x0   0000000000000000  x1   0000000000002fce  x2   0000000000000006  x3   0000000000000008
 03-10 12:05:04.943: E/CRASH(12209):     x4   000000744b64a988  x5   0080000000808080  x6   0000000000000000  x7   0000000000000010
 03-10 12:05:04.943: E/CRASH(12209):     x8   0000000000000083  x9   ffffffffffffffdf  x10  0000000000000000  x11  0000000000000001
 03-10 12:05:04.943: E/CRASH(12209):     x12  ffffffffffffffff  x13  0000000000000000  x14  0000000000000000  x15  00342351221ad7ad
 03-10 12:05:04.943: E/CRASH(12209):     x16  0000007455211ed0  x17  00000074551bb378  x18  000000000000003d  x19  000000744b64b4f8
 03-10 12:05:04.943: E/CRASH(12209):     x20  0000000000000006  x21  000000744b64b450  x22  0000000000000000  x23  0000000000000000
 03-10 12:05:04.943: E/CRASH(12209):     x24  0000000000000000  x25  000000744b64ab80  x26  000000744b64aba0  x27  000000744b64ac70
 03-10 12:05:04.943: E/CRASH(12209):     x28  000000744b64ad20  x29  000000744b64a630  x30  00000074551b8808
 03-10 12:05:04.943: E/CRASH(12209):     sp   000000744b64a610  pc   00000074551bb380  pstate 0000000060000000
 03-10 12:05:04.943: E/CRASH(12209): backtrace:
 03-10 12:05:04.986: E/CRASH(12209):     #00  pc 00000000000004dc  [vdso] ()
 03-10 12:05:04.986: E/CRASH(12209):     #01  pc 000000000006c37c  /system/lib64/libc.so (tgkill+4)
 03-10 12:05:04.986: E/CRASH(12209):     #02  pc 0000000000069804  /system/lib64/libc.so (pthread_kill+64)
 03-10 12:05:04.986: E/CRASH(12209):     #03  pc 0000000000024618  /system/lib64/libc.so (raise+24)
 03-10 12:05:04.986: E/CRASH(12209):     #04  pc 000000000001d034  /system/lib64/libc.so (abort+52)
 03-10 12:05:04.986: E/CRASH(12209):     #05  pc 0000000000021624  /system/lib64/libc.so (__libc_fatal+104)
 03-10 12:05:04.986: E/CRASH(12209):     #06  pc 000000000006b24c  /system/lib64/libc.so (__stack_chk_fail+16)
 03-10 12:05:04.986: E/CRASH(12209):     #07  pc 0000000001534dec  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2Gu25PersistentContactManifold19reduceBatchContactsEPKNS0_17PersistentContactEjf+1872)
 03-10 12:05:04.986: E/CRASH(12209):     #08  pc 0000000001534e50  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2Gu25PersistentContactManifold24addBatchManifoldContactsEPKNS0_17PersistentContactEjf+96)
 03-10 12:05:04.986: E/CRASH(12209):     #09  pc 000000000150e69c  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2GuL34fullContactsGenerationConvexConvexERKNS0_11ConvexHullVERS1_RKNS_6shdfnd3aos12PsTransformVES9_bbPNS0_17PersistentContactERNS0_13ContactBufferERNS0_25PersistentContactManifoldER13__Float32x4_tRKSG_SJ_RK13__Float32x2_tbPNS_2Cm12RenderOutputEf+368)
 03-10 12:05:04.986: E/CRASH(12209):     #10  pc 000000000150e394  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx2Gu22pcmContactConvexConvexERKNS0_13GeometryUnionES3_RKNS_11PxTransformES6_RKNS0_17NarrowPhaseParamsERNS0_5CacheERNS0_13ContactBufferEPNS_2Cm12RenderOutputE+4920)
 03-10 12:05:04.986: E/CRASH(12209):     #11  pc 000000000145f45c  /data/app/#####-1/lib/arm64/libunity.so (_ZN5physx25PxcDiscreteNarrowPhasePCMERNS_18PxcNpThreadContextERKNS_13PxcNpWorkUnitERNS_2Gu5CacheERNS_23PxsContactManagerOutputE+612)
 03-10 12:05:04.986: E/CRASH(12209):     #12  pc 0000000001474274  /data/app/#####-1/lib/arm64/libunity.so (_ZN23PxsCMDiscreteUpdateTask10processCmsIXadL_ZN5physx25PxcDiscreteNarrowPhasePCMERNS1_18PxcNpThreadContextERKNS1_13PxcNpWorkUnitERNS1_2Gu5CacheERNS1_23PxsContactManagerOutputEEEEEvPS2_+388)
 03-10 12:05:04.986: E/CRASH(12209):     #13  pc 00000000014740c8  /data/app/#####-1/lib/arm64/libunity.so (_ZN23PxsCMDiscreteUpdateTask11runInternalEv+252)
 03-10 12:05:04.986: E/CRASH(12209):     #14  pc 00000000005160ec  /data/app/#####-1/lib/arm64/libunity.so (_ZL12PhysxJobFuncPN5physx10PxBaseTaskE+156)
 03-10 12:05:04.986: E/CRASH(12209):     #15  pc 0000000000a27598  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue4ExecEP7JobInfoxi+132)
 03-10 12:05:04.986: E/CRASH(12209):     #16  pc 0000000000a27a58  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue31ExecuteJobFromHighPriorityStackEv+56)
 03-10 12:05:04.986: E/CRASH(12209):     #17  pc 0000000000a27c10  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue11ProcessJobsEPv+192)
 03-10 12:05:04.986: E/CRASH(12209):     #18  pc 0000000000a26ea0  /data/app/#####-1/lib/arm64/libunity.so (_ZN8JobQueue8WorkLoopEPv+132)
 03-10 12:05:04.986: E/CRASH(12209):     #19  pc 0000000000b54ccc  /data/app/#####-1/lib/arm64/libunity.so (_ZN6Thread16RunThreadWrapperEPv+668)
 03-10 12:05:04.986: E/CRASH(12209):     #20  pc 000000000006900c  /system/lib64/libc.so (_ZL15__pthread_startPv+196)
 03-10 12:05:04.986: E/CRASH(12209):     #21  pc 000000000001e278  /system/lib64/libc.so (__start_thread+16)

  • And another crash (Android 9, release build)

This crash also happened quite fast, ~1 minute into game.

 03-10 12:14:06.837: A/libc(13271): stack corruption detected
 03-10 12:14:06.886: E/CRASH(13271): signal 6 (SIGABRT), code -6 (?), fault addr --------
 03-10 12:14:06.886: E/CRASH(13271): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 03-10 12:14:06.886: E/CRASH(13271): Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
 03-10 12:14:06.887: E/CRASH(13271): Build fingerprint: 'lge/h1_global_com/h1:7.0/NRD90U/171071320bbd5:user/release-keys'
 03-10 12:14:06.887: E/CRASH(13271): Revision: '13'
 03-10 12:14:06.887: E/CRASH(13271): pid: 13271, tid: 13285, name: UnityMain  >>> ##### <<<
 03-10 12:14:06.887: E/CRASH(13271):     x0   0000000000000000  x1   00000000000033e5  x2   0000000000000006  x3   0000000000000008
 03-10 12:14:06.887: E/CRASH(13271):     x4   000000745313d958  x5   0080000000808080  x6   0000000000000000  x7   0000000000000010
 03-10 12:14:06.887: E/CRASH(13271):     x8   0000000000000083  x9   ffffffffffffffdf  x10  0000000000000000  x11  0000000000000001
 03-10 12:14:06.887: E/CRASH(13271):     x12  ffffffffffffffff  x13  0000000000000000  x14  0000000000000000  x15  0031eec054b219fd
 03-10 12:14:06.887: E/CRASH(13271):     x16  0000007455211ed0  x17  00000074551bb378  x18  000000000000003f  x19  000000745313f4f8
 03-10 12:14:06.887: E/CRASH(13271):     x20  0000000000000006  x21  000000745313f450  x22  0000000000000002  x23  0000000000000000
 03-10 12:14:06.887: E/CRASH(13271):     x24  0000000000000000  x25  000000745313db50  x26  000000745313db70  x27  000000745313dc40
 03-10 12:14:06.887: E/CRASH(13271):     x28  000000745313dcf0  x29  000000745313d600  x30  00000074551b8808
 03-10 12:14:06.887: E/CRASH(13271):     sp   000000745313d5e0  pc   00000074551bb380  pstate 0000000060000000
 03-10 12:14:06.887: E/CRASH(13271): backtrace:
 03-10 12:14:06.926: E/CRASH(13271):     #00  pc 00000000000004dc  [vdso] ()
 03-10 12:14:06.926: E/CRASH(13271):     #01  pc 000000000006c37c  /system/lib64/libc.so (tgkill+4)
 03-10 12:14:06.926: E/CRASH(13271):     #02  pc 0000000000069804  /system/lib64/libc.so (pthread_kill+64)
 03-10 12:14:06.926: E/CRASH(13271):     #03  pc 0000000000024618  /system/lib64/libc.so (raise+24)
 03-10 12:14:06.926: E/CRASH(13271):     #04  pc 000000000001d034  /system/lib64/libc.so (abort+52)
 03-10 12:14:06.926: E/CRASH(13271):     #05  pc 0000000000021624  /system/lib64/libc.so (__libc_fatal+104)
 03-10 12:14:06.926: E/CRASH(13271):     #06  pc 000000000006b24c  /system/lib64/libc.so (__stack_chk_fail+16)
 03-10 12:14:06.926: E/CRASH(13271):     #07  pc 0000000000d18770  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #08  pc 0000000000d187d4  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #09  pc 0000000000cf2020  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #10  pc 0000000000cf1d18  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #11  pc 0000000000c42de0  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #12  pc 0000000000c57bf8  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #13  pc 0000000000c57a4c  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #14  pc 0000000000359a9c  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #15  pc 00000000005c6170  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #16  pc 00000000005c6608  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #17  pc 00000000005c65b0  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #18  pc 000000000037a284  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #19  pc 00000000003561a8  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #20  pc 00000000005efb6c  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #21  pc 00000000005efba0  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #22  pc 00000000005efd5c  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #23  pc 00000000006d51e8  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #24  pc 00000000006e2140  /data/app/#####-1/lib/arm64/libunity.so ()
 03-10 12:14:06.926: E/CRASH(13271):     #25  pc 000000000003f9d0  /data/app/#####-1/oat/arm64/base.odex ()
 03-10 12:14:06.928: E/MessageQueue(13271): IdleHandler threw exception
 03-10 12:14:06.928: E/MessageQueue(13271): java.lang.Error: signal 6 (SIGABRT), code -6 (?), fault addr --------
 03-10 12:14:06.928: E/MessageQueue(13271): Build fingerprint: 'lge/h1_global_com/h1:7.0/NRD90U/171071320bbd5:user/release-keys'
 03-10 12:14:06.928: E/MessageQueue(13271): Revision: '13'
 03-10 12:14:06.928: E/MessageQueue(13271): pid: 13271, tid: 13285, name: UnityMain  >>> ##### <<<
 03-10 12:14:06.928: E/MessageQueue(13271):     x0   0000000000000000  x1   00000000000033e5  x2   0000000000000006  x3   0000000000000008
 03-10 12:14:06.928: E/MessageQueue(13271):     x4   000000745313d958  x5   0080000000808080  x6   0000000000000000  x7   0000000000000010
 03-10 12:14:06.928: E/MessageQueue(13271):     x8   0000000000000083  x9   ffffffffffffffdf  x10  0000000000000000  x11  0000000000000001
 03-10 12:14:06.928: E/MessageQueue(13271):     x12  ffffffffffffffff  x13  0000000000000000  x14  0000000000000000  x15  0031eec054b219fd
 03-10 12:14:06.928: E/MessageQueue(13271):     x16  0000007455211ed0  x17  00000074551bb378  x18  000000000000003f  x19  000000745313f4f8
 03-10 12:14:06.928: E/MessageQueue(13271):     x20  0000000000000006  x21  000000745313f450  x22  0000000000000002  x23  0000000000000000
 03-10 12:14:06.928: E/MessageQueue(13271):     x24  0000000000000000  x25  000000745313db50  x26  000000745313db70  x27  000000745313dc40
 03-10 12:14:06.928: E/MessageQueue(13271):     x28  000000745313dcf0  x29  000000745313d600  x30  00000074551b8808
 03-10 12:14:06.928: E/MessageQueue(13271):     sp   000000745313d5e0  pc   00000074551bb380  pstate 0000000060000000
 03-10 12:14:06.928: E/MessageQueue(13271):     at [vdso].(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libc.tgkill(tgkill:4)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libc.pthread_kill(pthread_kill:64)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libc.raise(raise:24)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libc.abort(abort:52)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libc.__libc_fatal(__libc_fatal:104)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libc.__stack_chk_fail(__stack_chk_fail:16)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at libunity.(:0)
 03-10 12:14:06.928: E/MessageQueue(13271):     at base.(:0)
 



Comment
Add comment
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by MikDab · Mar 11, 2019 at 06:04 PM

I've narrowed down why the crash happens. It's strange that Unity does not provide any warnings/errors in the editor when doing this, since it is extremely confusing and throws off the scent of the problem.

The problem potentially lies with the fact that baking/assigning meshes and setting them to convex (with the intent of using the collider together with a rigidbody) during runtime potentially produces extremely over-the-limit convex mesh colliders (way over the suggested 255 triangle limit as stated in the documentation). The editor can handle this, does not produce errors/warnings that the convex mesh is over the limit and might cause crashes, while Android crashes unexpectedly without reasonable errors to go on.

Even though this is partially my fault, I still think that there should be at least a warning in the console when setting meshes to convex at runtime, indicating whether or not the mesh is suitable for use and the potential dangers.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image zebiekste · Mar 27, 2020 at 11:25 PM 0
Share

Thanks $$anonymous$$ikDab, I had exactly the same problem as yours and changing mesh colliders really helped!

avatar image OmerPlaytika zebiekste · Apr 19 at 11:47 AM 0
Share

Any one tried it ? did it solve your issue ? Have yo just switched mesh colliders to box or what? Thanks :]

avatar image
0

Answer by cs120319992 · Mar 11, 2019 at 05:06 PM

Change from il2cpp to mono

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MikDab · Mar 11, 2019 at 05:50 PM 0
Share

Quoting myself: "Tried numerous different settings (mono, Il2cpp, .Net 2.0 & .Net 4.x, different architectures, different android API versions, etc.) when building the game, the crash still happens".

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

105 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error during building native library with il2cpp 0 Answers

Unity Android IL2CPP Build Error 1 Answer

il2cpp.exe did not run properly! when build Android app. 6 Answers

[5.5f02] Android IL2CPP Build Failure 1 Answer

FFmpeg Unity Bind can not build for Android 64 bit 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges