armory3d / haxebullet

Bullet 3D Physics for Haxe
http://bulletphysics.org
zlib License
94 stars 21 forks source link

Crash on android #8

Closed DmitriyKarpov closed 7 years ago

DmitriyKarpov commented 7 years ago

On Android 4.4 application crashes on dynamicsWorld.stepSimulation(1/60) call. I also tested It on Android 5.0, linux, html5 and it works fine. There are no any errors in logcat and I don't know how to capture this error. Can somebody suggest solution? I tested on 2 smartphones with Android 4.4.2 and 4.4.3, both crashes

luboslenco commented 7 years ago

Hm, weird that Android 5.0 is fine but 4.4 is not. Does emulator also crash? Maybe trying a different bullet versions would have some effect, replacing the bundled one at https://github.com/armory3d/haxebullet/tree/master/cpp/bullet.

DmitriyKarpov commented 7 years ago

I've updated bullet version to 2.87. Now it works fine. Thanks for your help

luboslenco commented 7 years ago

Nice! I will also update the included bullet version as well.

luboslenco commented 7 years ago

Updated cpp bullet to 2.87. https://github.com/armory3d/haxebullet/commit/f2735a249330cdb23323e52d8768659f69dd0f7e