The custom SceneLoader don't stay until all assets (textures) are loaded

I create this scene:
https://www.comboios3d.com/museu/

The custom loading screen don’t stay until all assets (textures) are loaded.
The loading screen appears and disappears very fast and a white screen appears until all textures are loaded.

I follow this tutorial, but don’t work well with my scene:

What i can do to solve this problem?

Try waiting for the scene to be ready before you hide the loading UI, instead of hiding it when the models are done loading.

scene.executeWhenReady(() => engine.hideLoadingUI());            
3 Likes

Thank you, it worked.

1 Like