Hello, whenever I create a Minecraft world in 1.20.5, large biomes and without structures it works fine, my computer runs pretty well.
So when I join the world and do /locate structure (lets say a village or whatever) the game will get destroyed and will fail to even load anything, so if I try to leave the game it will stay on the saving world tab forever which is a problem (even at the time of writing this).
When I tried to reproduce this, after waiting for around 10 minutes, my game did eventually start working again. I guess the /locate command doesn't check if the world even has structures enabled before attempting to locate one.