Version:1.19.2
Previous Software: Paper
Current Software: Vanilla
Difficulty: Hard
Recently, I've switched the software from Paper to Vanilla and the overworld mobs stopped naturally spawning. Everything works fine on the other two dimensions and the previous hostile ones haven't despawned.
I know that there already is a similar thread, however, the problem there hasn't been solved.