[3.6.3, 3.5.2] Dragonbones error & "animationPose" is undefined on Android platform #13467
Labels
Bug
Env: Android
Env: Native
General issue on all native platforms including iOS, Android, MacOS, Windows
Cocos Creator version
3.6.3, 3.5.2
System information
Windows 10 Editor
Issue description
I have a 2D game where the character has an idle animation and the user controls the character which can shoot arrows using a bow. This works perfectly when the game is running in the browser without any errors:
Video.mp4
But running the game on an Android device and then trying to shoot an arrow I get errors in the log and the animation is broken. Here is part of the code that causes this error (line 154 of 'Player.ts' script in demo):
Also I've noticed that on Android the value of "animationPose" of any bone is always undefined and so I can't use it but even without using the "animationPose" the same error happens.
Relevant error log output
This was the log output running on an Android device (v3.6.2):
This is the same error log for the v3.5.2 of this demo:
Steps to reproduce
Simply run the attached demo project on an Android device and then swipe on the screen to see the error (by swiping you pull the string of the bow).
Minimal reproduction project
The text was updated successfully, but these errors were encountered: