The tendency of the aircraft to turn when we put it in auto mode

We have a 5-engine VTOL aircraft. When we send an auto mission through the mission plane, the plane tends to turn to one side before going into take-off mode. Can you help to solve the problem? thanks.