So, I have this project that tries to emulate those old videogames that used videos inside an interface (e.g. Los Justicieros). As such, every scene switch is happening inside the panel that holds the "scenes" inside the interface, erasing the previous node and instancing the new. I used this article from the documentation as the base of my code, however, something weird is happening. Sometimes, seemingly at random, when the scene is switched, some nodes of the scene are missing.
I tried to instance the scene, duplicate it, add one of the instances to the scene tree root and the other to the scene container and, by using the remote scene view, I could check that when something is missing in the scene, it isn't missing in the duplicate node, so the problem must be occuring when adding the child to the scene container.
I'm really not sure if this is a problem with the engine or I made a mistake with my code, and I couldn't replicate the bug on an empty project, so I don't know if I should report it.
I uploaded a sample of the project here. I only included a scene with the shop because is where this happens the most, but I observed this happening on other scenes as well.
The photo icon at the bottom right reloads the scene. By clicking repeatedly you can observe the issue. This happens either on Godot 3.1.1 and Godot 3.2.alpha
To wrap up, I guess what I'm asking is: Am I doing something wrong? Should I report this even though I can't replicate it? Is it possible that the project is corrupted somehow?