Scene freezing after loading

it probably just not “gapless” scene change, as the godot needs to build from scratch for the new scene after removing all the previous one
the solution for this is to manually change the scene with remove and add child

while changing it tho, show a loading screen so it doesnt look like there’s grey scene before changing scene

above solution code is just a snippet, you will want to integrate it to fit your needs, but it didnt use change_scene_to_file method for changing scene

the loading panel can be on TopUI Layer (different and higher layer than basic UI CanvasLayer) that will show when triggered on changing scene