Thanks for the answer, but the animations of the XM8 rifle do not work. After some testing, I found that the problem with XM8 animations arose in the engine version 4.15.1.
(The bullet does not disappear, the elements of the rifle do not move)
If you play animation in the engine 4.13.2, then everything works. In other versions of the engine, I did not check.