Run on windows normal, but not run on Android. Logcat.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By alexolin
:warning: Old Version Published before Godot 3 was released.

Copy from Facebook.

Hello. I run my project in Godot 2 stable (on Windows 10). In console print (when project opening) error


ADD PRIMITIVES INIT
SMOOTH BEGIN? 1
SMOOTH BEGIN? 1
SMOOTH BEGIN? 1
SMOOTH BEGIN? 1
SMOOTH BEGIN? 1
ERROR: create: Condition ’ Math::is_nan(p_aabb.size.x) ’ is true. returned: 0
At: core/math/octree.h:827
ERROR: create: Condition ’ Math::is_nan(p_aabb.size.x) ’ is true. returned: 0
At: core/math/octree.h:827
ERROR: create: Condition ’ Math::is_nan(p_aabb.size.x) ’ is true. returned: 0
At: core/math/octree.h:827
ERROR: create: Condition ’ Math::is_nan(p_aabb.size.x) ’ is true. returned: 0
At: core/math/octree.h:827
ERROR: create: Condition ’ Math::is_nan(p_aabb.size.x) ’ is true. returned: 0
At: core/math/octree.h:827
ERROR: create: Condition ’ Math::is_nan(p_aabb.size.x) ’ is true. returned: 0
At: core/math/octree.h:827
settings changed
ERROR: _update_camera: Condition ’ !E ’ is true.
At: scene/resources/world.cpp:129

I run projekt - all work normal on Windows in editor and in exported EXE. I make export to Android. Buid apk. Install on device. Run. But show only splash godot screen and app not working, android show message - Error in application… I see adb logcat - but i dont know how to find error…

I find this line:
I/ActivityManager( 412): Displayed org.godotengine.vehiclemain/org.godotengine.godot.Godot: +1s97ms

I/godot ( 7753): decompressing bc

I/godot ( 7753): SMOOTH BEGIN? 1

I/godot ( 7753): e[1;31mERROR: operator[]: e[0me[1mCondition ’ p_index<0 || p_index>=size() ’ is true. returned: aux
I/godot ( 7753): e[0;31m At: core/vector.h:116.e[0m

F/libc ( 7753): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 7766 (Thread-363)

Do you help me?

PS. Exported demo Platformer3d running on tablet whithout errors(but slow) Sorry for long posting.

:bust_in_silhouette: Reply From: Mohammad Hadi Aliakb

hmmm need to see your code,
I think you should correct the errors in windows and editor the error is there but does not do anything but in android it will give you exception.

In editor no errors in debugger.

alexolin | 2016-02-26 11:01