Upon using
/gamerule DoMobSpawning false
and adding the command /kill @e[type=!minecraft:player] I am shocked that now Mobs keep loading in... And the worst that I can kill each single one individualy with /kill @e[] but not them all together, better prevent any from loading in...
Please do not mark unreleased versions as affected.
You don't have access to them yet.