Heading bug does not align with compass heading when HDG knob is pressed. Cessna 172 - G1000

Not for me it doesn’t, it moves the bug to my current aircraft heading and has done so correctly for a long time.

You appear to have a problem that is different to the one discussed here that has been resolved for some time now.

I think you might find it more useful to raise a new topic of your own where people with the same problem as yours can discuss it.