Could you verify motor connect connection: U, V and W phases and Encoder signal? Did you try using Sensor Less as Main speed sensing and Encoder as Auxiliary to check that both reported electrical angles are aligned?
If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA