I was playing my main survival world on my Nintendo Switch and I hit "Save and Exit" and when I went to play on it again the loading bar filled up but got stuck on "Generating World" with the bar still full. I waited a while but nothing happened and it remained "loading." By the way, I exited the world in the End dimension which might had been the main issue.
This issue should be fixed in 1.12.1.