App on Android Device crashes after multiple rotating touch gestures

Hello Everyone,

I’m on a problem that I can’t solve right now after many researches, here is what I got as issue :

I’m trying to make a geolocation app that uses a 3D map [ with Mapbox ]. Everything is doing fine on the Unity Editor. I implemented the Rotation movement with the Touch Inputs and I needed to try it on my Huawei Nova Android Phone. So I decided to Build & Run [ before finding out that Unity Remote 5 could do the job ] and tried it on my Device. But after 10 times rotating , my app crashed.

I couldn’t find a easy way to get a Exception Log without using ADB Logcat, and that’s what I got :
[ I typed in Terminal : ./adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG ]

08-18 14:59:31.534 28201 28201 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-18 14:59:31.535 28201 28201 F DEBUG   : Build fingerprint: 'HUAWEI/CAN-L01/HWCAN:7.0/HUAWEICAN-L01/C02B331:user/release-keys'
08-18 14:59:31.535 28201 28201 F DEBUG   : Revision: '0'
08-18 14:59:31.535 28201 28201 F DEBUG   : ABI: 'arm'
08-18 14:59:31.535 28201 28201 F DEBUG   : pid: 28069, tid: 28104, name: Worker Thread  >>> io.chillpills.juicy <<<
08-18 14:59:31.535 28201 28201 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbd696000
08-18 14:59:31.535 28201 28201 F DEBUG   :     r0 c71f0040  r1 c71f0020  r2 c71f0058  r3 bd696000
08-18 14:59:31.535 28201 28201 F DEBUG   :     r4 00000020  r5 00000002  r6 0000000c  r7 00000020
08-18 14:59:31.535 28201 28201 F DEBUG   :     r8 bd696000  r9 00000001  sl 00000000  fp 00000000
08-18 14:59:31.535 28201 28201 F DEBUG   :     ip d1d7f5f0  sp d1d7f550  lr d67f29f4  pc d7327714  cpsr 60000010
08-18 14:59:31.544 28201 28201 F DEBUG   :
08-18 14:59:31.544 28201 28201 F DEBUG   : backtrace:
08-18 14:59:31.544 28201 28201 F DEBUG   :     #00 pc 0104f714  /data/app/io.chillpills.juicy-1/lib/arm/libunity.so

Not understanding a word of that message, I decided to use Addr2Line with the help of NDK. I finally got a message that, unfortunately, didn’t help me more but I knew that “0104f714” what the alloc address that I needed :

[ I typed in Terminal : [ADDRESS-TO-THE-NDK-FOLDER-USED-IN-UNITY]/…/arm-linux-androideabi-addr2line -Cfe /Applications/Unity/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Development/Libs/armeabi-v7a/libunity.so 0104f714 ]

TransformVertices_Strided_XYZN_2_Loop
??:?

I actually use IL2CPP as scripting backend and I understand it should be a problem in the Unity Library. But I really can’t find out what I did wrong here. And I don’t know if I’m giving enough informations. But this is everything I got.

I thank you for your answers

@M-H-O It is a segmentation error, usually from plugin function calls. Check that the input of TransformVertices_Strided_XYZN_2_LOOP is correct. They might not catch null ptr exceptions or out of bounds variables. It is annoying to debug those because it makes editor crash right? ~