Cannot clear a scene


I cannot find a way of clearing the scene form all the scene objects. Maybe im just doing it wrong. Here’s how I do it :

SceneManager scene;

I would really appreciate some help, cauz I just cannot find the solution.


Can you try modifying one of the example projects to reproduce the issue and post it here so I can reproduce, thanks.


Sorry, i cant really reproduce the issue. Am just asking on how to use the clear scene method of the scene manager class. Do I need to create a scene manager object or do i just call the method statically?
tnx again


You can access an instance of SceneManager through SceneManager::instance() static method, on which you can call clearScene.


Thank you very much for replying, you are doing so much for this community!