cant be avoided for now, especially you are loading a big scene
so it’s best to load all scene and cache it/store it into a variable, then the next scene that tries to load it will just load it from that, so no freezing for a few seconds every time you need the scene. Just the very first time you need to load the scenes, it will freezing
may have a look on this, i’ve done similar but basically you want to list all the scenes file you wanted to load, then load it and store it into variable(s)
just make sure you load it all into a scene that wont be queue_free’d
The problem for me was the CSG meshes in the scene. I put about 5000 csg meshes for testing and it was freezing, but when I changed them to normal cube meshes, it started to freeze.