Problem control rig

Hello everybody, i’m setting a control rig for my mannequin, but i have a problem with basik IK. in particolar, the upper leg is uncontrollabl

e (see photo). Can you help me??

Check this numbers in the unreal Rig example, they are what mark the direction of the pole