I think this has nothing to do with my survival world, because when the default world is changed to my survival world, it runs smoothly. but when the default world is changed to the hub world and moving to the survival world then an error occurs
easy solution: don't delete the fucking world when it's loaded... why do people always do this?!?!?!?!?
A similar issue here. Minecraft crashing (hot bar getting hidden) when a player teleports to a world that is not the default one. It happens sometimes but not always.