A number of feats are currently bugged.

In 5e you get ability score improvements When you reach levels 4, 8, 12, 16, and 19.

Fighter gets 2 extra ASI's as they level, and Rogue gets 1 extra.

Barbarian functions mostly the same, but at level 20 they get flat stat increases. BG3 likely won't extend that far, anyway