dreding
Topic Author
Posts: 1
Joined: 25 Sep 2022, 16:18

Unity android crashes on inventory example

03 Nov 2024, 13:45

Hello!

I'm exploring Noesis with Unity, and faced with native android crash when try to check inventory example on my phone (xiaomi redmi note pro 10). It crashes on loading phase with this logcat output:
2024.11.03 15:37:17.491 22242 22267 Error FileUtils err open mi_exception_log errno=2
2024.11.03 15:37:17.491 22242 22267 Error FileUtils err write to mi_exception_log
2024.11.03 15:37:17.705 22242 22267 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024.11.03 15:37:17.705 22242 22267 Error CRASH Version '2022.3.47f1 (88c277b85d21)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
2024.11.03 15:37:17.705 22242 22267 Error CRASH Build fingerprint: 'Redmi/sweet_global/sweet:13/TKQ1.221013.002/V14.0.8.0.TKFMIXM:user/release-keys'
2024.11.03 15:37:17.705 22242 22267 Error CRASH Revision: '0'
2024.11.03 15:37:17.705 22242 22267 Error CRASH ABI: 'arm'
2024.11.03 15:37:17.705 22242 22267 Error CRASH Timestamp: 2024-11-03 15:37:17.705217777+0300
2024.11.03 15:37:17.705 22242 22267 Error CRASH pid: 22242, tid: 22267, name: UnityMain  >>> com.DefaultCompany.NoesisTest <<<
2024.11.03 15:37:17.705 22242 22267 Error CRASH uid: 10635
2024.11.03 15:37:17.705 22242 22267 Error CRASH signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
2024.11.03 15:37:17.705 22242 22267 Error CRASH Cause: null pointer dereference
2024.11.03 15:37:17.705 22242 22267 Error CRASH     r0  00000000  r1  bc91b400  r2  00000000  r3  00000000
2024.11.03 15:37:17.705 22242 22267 Error CRASH     r4  b8e21bdd  r5  bc91b400  r6  00000000  r7  e5be71e0
2024.11.03 15:37:17.705 22242 22267 Error CRASH     r8  00000176  r9  000001f2  r10 e5be71f4  r11 e5be7208
2024.11.03 15:37:17.705 22242 22267 Error CRASH     ip  00000001  sp  e5be7128  lr  b8e123e1  pc  b8e21bfa
2024.11.03 15:37:17.705 22242 22267 Error CRASH backtrace:
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #00 pc 00492bfa  /data/app/~~0rMP3Qs7SFDm-HS4c_ccPA==/com.DefaultCompany.NoesisTest--rjI-IbK2EaVEokpiq_qjA==/lib/arm/libNoesis.so
2024.11.03 15:37:17.705 22242 22267 Error CRASH managed backtrace:
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #00 (wrapper managed-to-native) Noesis.TextureSource:Noesis_TextureSource_SetTexture (intptr,intptr,int,int,int)
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #01 Noesis.TextureSource:SetTexture (intptr,UnityEngine.Texture) <0xf3>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #02 Noesis.Extend:GetInstanceHandle (object) <0x11f>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #03 Noesis.Extend:GetInstanceHandle (object) <0x3f7>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #04 Noesis.Extend:GetPropertyValue_BaseComponent (intptr,int,intptr) <0x63>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #05 (wrapper native-to-managed) Noesis.Extend:GetPropertyValue_BaseComponent (intptr,int,intptr)
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #06 (wrapper managed-to-native) Noesis.View:Noesis_View_SetSize (System.Runtime.InteropServices.HandleRef,int,int)
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #07 Noesis.View:SetSize (int,int) <0x33>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #08 NoesisView:UpdateSize () <0xcb>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #09 NoesisView:UpdateInternal () <0x10f>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #10 NoesisView:LateUpdate () <0x1f>
2024.11.03 15:37:17.705 22242 22267 Error CRASH       #11 (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

What i'm doing wrong? Thanks!
 
User avatar
sfernandez
Site Admin
Posts: 3364
Joined: 22 Dec 2011, 19:20

Re: Unity android crashes on inventory example

05 Nov 2024, 12:40

Could you please create a ticket in our bugtracker attaching the logcat output including the native callstack so we can see the source of the crash?

Who is online

Users browsing this forum: No registered users and 4 guests