I am trying to get a scene loaded while I show the progress bar, or some sort of loading animation instead of just a screen that's frozen.

I have a simple project using a ResourceLoader.load(path) in the background thread. Here is the github repo showing the problem. https://github.com/kmanpro/BackgroundSceneLoadingTest

The code in question is located in the "Scripts/globalStats.gd" int the method "goto_scene"

I have also tried using the resource_queue.gd from the following page. http://docs.godotengine.org/en/3.0/tutorials/io/background_loading.html

They all fail and freeze the spinner animation when the next scene is loaded. It is very noticeable on an android phone as the spinner stays up longer in the frozen state.

Can someone help me to see where I am going wrong? I would like the spinner animation to stay up and spinning until the next scene is completely loaded then show the new scene. Any help would be appreciated.

Also, I am using the latest nightly build for this project from here https://hugo.pro/projects/godot-builds/

Thanks!

4 years later