fshakhverdiyev It is a good idea to have a track for the animation to which the root motion needs to be applied and specify the track number in the Animation Tracks
of the SkeletonRootMotion
component.
The SkeletonRootMotion
changes the position of the GameObject not at the end of the animation, but at any time, so there should be no problem with the GameObject returning to its original position if it is disabled in the middle of the animation.