Auto RIg Pro problem

I have a problem with exporting Rig to Unreal Engine, I don’t know what I’m doing wrong, the rig has several custom bones and I don’t know if the problem is that when I try to export it, I get this error “Python: Traceback (most recent call last):
File “C:\Users\Bane2\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\auto_rig_pro-master\src\auto_rig_ge.py”, line 1353, in execute
_set_humanoid_rig(self.armature_name, self.armature_add_name, False, self)
File “C:\Users\Bane2\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\auto_rig_pro-master\src\auto_rig_ge.py”, line 4953, in _set_humanoid_rig
get_pose_bone(“c_root.x”).lock_location[i] = True
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘lock_location’”

However, I found a solution for this problem, in fact, when I make the rig for the first time, before I press the go button, I should select that it is UE4 Mannequin in Skeleton Settings Presets