Mass Entity errors in Unreal 5.1.1

I tried following this tutorial to implement Mass Entity in my game.
However this fails with this error

LogMass: Error: Trait(MassCrowdVisualizationTrait) has missing dependency:
LogMass: Error:         TransformFragment
LogMass: Error: Trait(MassZoneGraphNavigationTrait) has missing dependency:
LogMass: Error:         AgentRadiusFragment
LogMass: Error:         TransformFragment
LogMass: Error: Trait(MassNavigationObstacleTrait) has missing dependency:
LogMass: Error:         AgentRadiusFragment
LogMass: Error: Trait(MassObstacleAvoidanceTrait) has missing dependency:
LogMass: Error:         AgentRadiusFragment
LogMass: Error:         TransformFragment
LogMass: Error: Trait(MassMovementTrait) has missing dependency:
LogMass: Error:         AgentRadiusFragment
LogMass: Error:         TransformFragment
LogMass: Error: Trait(MassSteeringTrait) has missing dependency:
LogMass: Error:         AgentRadiusFragment
LogMass: Error:         TransformFragment
LogMass: Error: Trait(MassSmoothOrientationTrait) has missing dependency:
LogMass: Error:         TransformFragment
LogMass: Error: Trait(MassLODCollectorTrait) has missing dependency:
LogMass: Error:         TransformFragment

If I add them to the assorted fragment trait that fixes the issue, and the character spawns, but they do not move, and I still get a fragment duplication error.

What should I do?
Does this feature work on UE5.1?

Seems like you are missing dependencies for some of the traits in the Mass Entity system. The missing dependencies may cause issues with the movement and behavior of the Mass Entities.

You can try adding the missing dependencies to the appropriate trait to resolve the issue. For example, you can add the AgentRadiusFragment and TransformFragment to the MassNavigationObstacleTrait, MassObstacleAvoidanceTrait, MassMovementTrait, and MassSteeringTrait. You can add the TransformFragment to the MassSmoothOrientationTrait and the MassLODCollectorTrait.

If you are still experiencing issues with the movement and behavior of the Mass Entities, you may need to provide more information about your setup and implementation.

Regarding your question about whether Mass Entity works on UE5.1, Mass Entity was introduced in Unreal Engine 4.23 if I am not mistaken, so it should also be available in UE5.1. However, there may be some differences in implementation or compatibility between versions, so it’s possible that there are specific issues or limitations with Mass Entity in UE5.1. You can check the official UE5 documentation or forums to see if there are any known issues or workarounds for using Mass Entity in UE5.1.