I had this problem too and to fix it I just joined a server (hypixel for me) and played a couple games for about 10 minutes, then I went into a single creative world and just ran around for about 5 minutes then it worked for me.
I had this problem too and to fix it I just joined a server (hypixel for me) and played a couple games for about 10 minutes, then I went into a single creative world and just ran around for about 5 minutes then it worked for me.