I’m having problems with phantom objects remaining after kloading a new scene.
I started out just loading a new scene and expected the objects to vanish - but they didn’t leaving their silhouettes on screen.
So I tried destroying them first (I’m destroying the objects in a Playmaker FSM - then using the next state to load a different screen).
But I still get the same result.
It seems to be a rendering thing - as changing from the game window to the editor and back seems to wipe it. - But it also shows up on a build.
I’m using deferred rendering. The material is a simple diffuse.
I do have one gameobject that is set to be not destroyed on load which I use for global values - but its not in any hierarchy or parent to these meshes.
I’ve attached an image showing this.
The top image is the mesh models on one screen before destroying them.
The second image shows what they look like after being destroyed - even after loading a different scene.
Help!