Compass issues

Recently I have noticed that compass in my Garmin Fenix 5x Plus is not working properly 9sort of stuc in one direction). Furthermore calibration fails also. When I do a hard reset- it works without a problem for a week or two. And then back to not working. 

Anyone else has the same issues?

I have contacted garmin and they said this is a hardware problem. Is it possible for a hardware problem to be corrected by hard reset?