We just purchased a 2022 GW Canyon 271 with Yamaha Helmaster EX and the compass heading is incorrect.
I believe Autopilot is working correctly because it uses GPS for direction.
It is when the heading on the chartplotter uses the heading sensor that it is obvious the heading sensor(compass)...