Don`t know if this can help but I had this problem on one project with terrible out of tune midi instruments.
I went into project settings / tuning / software instrument scale, and discovered that the "fixed" checkbox was checked.
I checked the equal tempered checkbox and it all came back to normal.