Gamepad not detected in cooked game

Ok I why, when I creat a widget form UMG and add to Viewport the ui the gamepad is disable in windows mode. To fix that add a delay before the node ‘create widget’ … and works T_T