Hi,
I have the following problem: after entering and exiting play mode, my scene goes blank. All assets disappear. This has happened with two scenes. The first one is lost, but the second one is restored if I restart Unity. I have both of them backed up, but it’s kind of a workflow killer.
Note that when this happens, the .unity file is still there and can be opened, but the first one just looks like a new scene when it’s opened.
I can still instantiate new prefabs and play with them in both of the scenes. If I then play and unplay again, the scene is wiped again.
The first time it happened, I have no idea what might have caused. The second time, it happened when I added a new GameObject (a sphere); added a rigidbody component to it; moved it a little; and then entered play mode. That time I could ctrl-z until before I added the rigidbody, and everything that had been wiped from the scene returned as it were before. However, now it happens every time I enter and exit play mode, even if it’s the first thing I do after opening the scene. Which means there’s nothing to undo.
I have been using Unity for a couple of years, and never had this issue before this week, so I’m guessing it’s a 4.0 issue. I’m using Unity 4.0.1f2.
What to do?
Björn