With some rigs, the arms animations are messed up and weird ? Help (videos)

Hello, for about 6 months, whenever I do an animation with the Block Rig, some rigs will have arms that have a different rotation during the animations, which makes them ugly. I don’t understand how to fix this problem. Thanks for your help, see the both videos below to understand the problem

In animation editor :


In game :

Please help me… Thank you … 0330

Try setting the animation priority to Action4.