armory3d / armory

3D Engine with Blender Integration
https://armory3d.org
zlib License
3.05k stars 317 forks source link

Buggy collision when assembling for Android #2505

Open Himik-NAV opened 2 years ago

Himik-NAV commented 2 years ago

Hello. I also encountered incorrect operation of collisions when assembling for android. https://github.com/armory3d/armory/issues/1756 There are collisions of physical objects, but they are very unstable. Unfortunately, the method from @Sanwa can be considered unsuitable, since the specified file has already changed a lot and does not contain such lines. what to do? where to look?

Screenshot_20220623_233256_org armory3d

System Blender: 2.93.8 Armory: 2022.5.0 OS: Win11, 22.04 LTS

Test File buggy collision when assembling for android build_monkey.zip

QuantumCoderQC commented 2 years ago

Hi, Thanks for the report. I can confirm that this issue exists on Windows HL targets as well. However, the behavior is similar to #1658 . That is, on release builds, everything works fine, but on debug builds it does not work. I have not tested this on Android release builds yet. @Himik-NAV if possible, could you please check this on Android release builds as well.

Last time, the issue was probably fixed with this: https://github.com/Kode/Kha/pull/1224. I am not sure if its still the arrays causing the issue here.

Himik-NAV commented 2 years ago

Hi, Thanks for the report. I can confirm that this issue exists on Windows HL targets as well. However, the behavior is similar to #1658 . That is, on release builds, everything works fine, but on debug builds it does not work. I have not tested this on Android release builds yet. @Himik-NAV if possible, could you please check this on Android release builds as well.

Last time, the issue was probably fixed with this: Kode/Kha#1224. I am not sure if its still the arrays causing the issue here.

OK. No problem. What exactly should I check (test)? Assembling my scene for windows 10 (the target is windows (Krom)) - works fine.. (all armory settings in the developers tab are disabled)

QuantumCoderQC commented 2 years ago

What exactly should I check (test)?

Please check assembling the same project for Android HL (just like before) but with a signed APK (release build). I assume you previously tested with an unsigned debug APK.

Himik-NAV commented 2 years ago

What exactly should I check (test)?

Please check assembling the same project for Android HL (just like before) but with a signed APK (release build). I assume you previously tested with an unsigned debug APK.

checked it out. release build - the same result (buggy collision) release.zip