Rigify to Unity3D with correct Root motion

Hello everyone!

Is there any article or a video with step-by-step tutorial of exporting Rigify skeleton to Unity3D with correct Root motion feature enabling?
I’ve tried to do it myself, but got problem. After I choose “DEF-spine” as a Root Motion Node and hit Apply, my character takes an initial rotation of “DEF-spine” bone and in preview window it goes a bit up instead of going forward ))

I’ve found the cause of my problem.
It’s all in the hierarchy. Blender exports Rigify as 2 bone branches.
Now I’m experimenting by changing parent-child bone relations.