Scene changes in editor getting lost during run

Hello,

I created two test scenes for debugging, the second scene has a terrain, 4 capsules, and a few other basic items like 3D mesh text, camera and light. The first scene is similarly simple but has other objects. There are no rigid bodies anywhere.

When run, the first scene is loaded, then the second scene (the one with the capsules) is loaded on top of the first scene (additive), this second scene seems to be giving the problems.

So I save and run it the first time and every thing ok.

I needed to make a change to the second scene, After i stop the run, I delete 3 of the 4 capsules from the second scene with the editor, i save the scene, then run again from the first scene. To my surprise all 4 capsules still appear in the scene!!

I try changing the texture attached to the capsule in the editor (after I stop the run), but when I run it, the texture is no longer there, it goes back to the original texture when I first created the second scene.

No matter what i change, delete or add to the second scene while in edit mode, when i run it, unity always goes back to the original scene as it was made the first time, its as if unity saved the original scene somewhere, and always goes back to it, ignoring any subsequent changes i make in the editor.

I dont have any idea why this is happening.

Im using Unity 5.4.0b24

Anybody have any clue why this is happening?

Thanks

Is this only reproducible in WebGL ? if so, could you try on another platform as well, let’s say on standalone.

I would also recommend you to download the most recent 5.4 since you are still using a Beta version.

Thanks so much for your respose Marco, but i solved the problem.

The second scene was being loaded as a scene asset from a remote server and not from the editor, so no matter what i changed in the editor, it wasnt being loaded because it was getting the scene information from a server. It was driving me crazy for hours until i figured it out.