I’ve not experienced that specific issue but undo is still wacky for me, as it’s been since 2.81. For example if I make 2 annotation strokes in sculpt mode and undo twice, it undoes the second stroke, skips the first stroke, and starts undoing whatever came before the annotations..