How to restart a scene - loadScene stopped working

So, i have i wierd problem, i have never expirience before.
As I understand, using loadScene() complettly stops the current scene, delete assets and load another one…
So, i have scene A opened on start… After calling loadSCene(B) in scene A, i could call loadScene(A) somewhere, and A would open like the first time…

But i realized, that in my case, When I doloadScene(A), all the things are as they were before loadScene(B). So all the changes of variables, nodes are there. It is like pausing the scene, not opening it right from the start.

How can i open a scene with the original settings? I want to open the scene like it was opened on the begining of the game. I don’t want thee changes of variables and nodes to be there again… How can I “Restart” a scene?

Thanks for your help and time.

Is it related to this? The second time I load a scene I lose reference to certain components

No. I can still acces to every node, etc. But the changes, i did while loading and playing the scene A for the first time, are still in scene A. So I am asking if there is any way of restarting the scene…

Hi did u got the solution for this issue what you posted one?