Crashing after splash screen on Android

papibpapib Posts: 2Member
edited January 2 in Exporting

Hello,

I've created a simple project and I'm trying to run it on my Android device. I don't have any code yet, it's just a simple scene (with another scene in it) but my project crashes immediately after the splash screen. Using Godot v3.0.6, my device is Xiaomi Redmi Note 4. It works fine on my PC.

I don't really know how to debug this so any help is welcome.

EDIT: Tried with adb logcat, here's crash info. Camera seems to be the issue, when I remove the camera it doesn't crash. Also, sorry this isn't in code tags, but I cannot find them.

01-02 16:56:36.091 9696 9696 F DEBUG : backtrace:
01-02 16:56:36.091 9696 9696 F DEBUG : #00 pc 00155b70 /system/vendor/lib/egl/libGLESv2_adreno.so (ZN9EsxGfxMe
m15UpdateTimestampEPK10EsxContext13EsxAccessTypeP20EsxBucketIdReference+335)
01-02 16:56:36.091 9696 9696 F DEBUG : #01 pc 00146839 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9EsxCmdMg
r16GfxMemReferencedEP9EsxGfxMem13EsxAccessType+24)
01-02 16:56:36.091 9696 9696 F DEBUG : #02 pc 001cfc55 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZNK10A5xPro
gram25GenerateShaderCBSlotStateEP10A5xContext13EsxCmdBufType23EsxCompiledHwShaderTypejP20A5xShaderCBSlotState+788)
01-02 16:56:36.091 9696 9696 F DEBUG : #03 pc 001ce14d /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN11A5xPipe
line13WriteUboStateEP10A5xContext13EsxCmdBufType23EsxCompiledHwShaderTypejP14A5xStateBuffer+108)
01-02 16:56:36.091 9696 9696 F DEBUG : #04 pc 001dbd3b /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xCont
ext29WriteConstantBufferStateGroupE13EsxCmdBufTypej+26)
01-02 16:56:36.091 9696 9696 F DEBUG : #05 pc 001eba31 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xCont
ext13ValidateStateEPK17EsxDrawDescriptor+1968)
01-02 16:56:36.091 9696 9696 F DEBUG : #06 pc 001ebf05 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xCont
ext18HwValidateGfxStateEPK17EsxDrawDescriptor+4)
01-02 16:56:36.091 9696 9696 F DEBUG : #07 pc 000cdf3d /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxCont
ext16ValidateGfxStateEPK17EsxDrawDescriptor+636)
01-02 16:56:36.091 9696 9696 F DEBUG : #08 pc 000c36b3 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxCont
ext21DrawElementsInstancedE11EsxPrimTypej10EsxPixTypePKvji+338)
01-02 16:56:36.091 9696 9696 F DEBUG : #09 pc 000add45 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxCont
ext14GlDrawElementsEjijPKv+68)
01-02 16:56:36.091 9696 9696 F DEBUG : #10 pc 000a3943 /system/vendor/lib/egl/libGLESv2_adreno.so (glDrawElemen
ts+34)
01-02 16:56:36.091 9696 9696 F DEBUG : #11 pc 006664c4 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN20RasterizerSceneGLES312_render_listEPPNS_10RenderList7ElementEiRK9TransformRK12CameraMatrixjbbbbb+2688
8)
01-02 16:56:36.091 9696 9696 F DEBUG : #12 pc 0067e4d4 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN20RasterizerSceneGLES312render_sceneERK9TransformRK12CameraMatrixbPPN15RasterizerScene12InstanceBaseEiP
3RIDiSB_iSA_SA_SA_SA_i+5668)
01-02 16:56:36.091 9696 9696 F DEBUG : #13 pc 013cc670 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN17VisualServerScene13_render_sceneE9TransformRK12CameraMatrixb3RIDjS4_S4_S4_i+28080)
01-02 16:56:36.092 9696 9696 F DEBUG : #14 pc 013c5844 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN17VisualServerScene13render_cameraE3RIDS0_7Vector2S0
+568)
01-02 16:56:36.092 9696 9696 F DEBUG : #15 pc 013e3fd4 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN20VisualServerViewport14_draw_viewportEPNS_8ViewportEN13ARVRInterface4EyesE+604)
01-02 16:56:36.092 9696 9696 F DEBUG : #16 pc 013e5aa4 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN20VisualServerViewport14draw_viewportsEv+1064)
01-02 16:56:36.092 9696 9696 F DEBUG : #17 pc 013b309c /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN18VisualServerRaster4drawEb+96)
01-02 16:56:36.092 9696 9696 F DEBUG : #18 pc 000d48c8 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (_ZN4Main9iterationEv+1128)
01-02 16:56:36.092 9696 9696 F DEBUG : #19 pc 00097d54 /data/app/org.godotengine.adroitheroes-1/lib/arm/libgodo
t_android.so (Java_org_godotengine_godot_GodotLib_step+212)
01-02 16:56:36.092 9696 9696 F DEBUG : #20 pc 0023626d /data/app/org.godotengine.adroitheroes-1/oat/arm/base.od
ex (offset 0x221000)

EDIT 2: Doesn't work on Xiaomi Redmi 6 either, gets stuck on splash screen forever with loads of this in the log:
01-02 17:48:42.399 567 567 E AKMD2 : AKM Test update raw input=0.155993,0.071991,9.830994
01-02 17:48:42.399 567 567 E AKMD2 : GRA = 0.150787,0.048950,9.805359,3
01-02 17:48:42.399 567 567 E AKMD2 : AKM Test update raw input=0.155993,-0.005997,9.830994
01-02 17:48:42.399 567 567 E AKMD2 : GRA = 0.150787,0.048950,9.805359,3
01-02 17:48:42.418 567 1089 E AKMD2 : AKM Test update raw input=0.155993,0.071991,9.830994
01-02 17:48:42.418 567 1089 E AKMD2 : GRA = 0.150787,0.048950,9.805359,3
01-02 17:48:42.418 567 1089 E AKMD2 : AKM Test update raw input=0.155993,0.071991,9.830994
01-02 17:48:42.418 567 1089 E AKMD2 : GRA = 0.150787,0.048950,9.805359,3
01-02 17:48:42.438 567 1089 E AKMD2 : AKM Test update raw input=0.155993,0.071991,9.830994
01-02 17:48:42.438 567 1089 E AKMD2 : GRA = 0.150787,0.048950,9.805359,3
01-02 17:48:42.438 567 1089 E AKMD2 : AKM Test update raw input=0.233997,0.071991,9.830994
01-02 17:48:42.438 567 1089 E AKMD2 : GRA = 0.150787,0.048950,9.805359,3
01-02 17:48:42.458 567 1089 E AKMD2 : AKM Test update raw input=0.155993,-0.005997,9.830994
01-02 17:48:42.458 567 1089 E AKMD2 : GRA = 0.151703,0.047974,9.805359,3
01-02 17:48:42.458 567 1089 E AKMD2 : AKM Test update raw input=0.155993,-0.005997,9.908997
01-02 17:48:42.458 567 1089 E AKMD2 : GRA = 0.151703,0.047974,9.805359,3

Tagged:

Tags :

Answers

Sign In or Register to comment.