Earning 0xp

So I have played several different game modes and the campaign but after the match is over it comes up and will say you earned 0xp. This keeps happening to me so I’m not getting any xp. I mean what is the point of xp if it shows you but you can’t earn any. Kinda annoying. Anywho.

On Xbox One. And I’m currently in Afghanistan. Xbox and everything is USA. Game was digital downloaded and it’s the ultimate edition.