SITL + Xplane 12

I am trying to run SITL with Xplane 11 and 12, but for some reason when the mav connects, the plane just locks into a hard left attitude and will just go around in circles. Even if I program a basic mission it wont follow it. I have tried both stable and Dev builds but it still does the same thing. Any help would be appreciated.