Quantcast
Channel: Latest Questions by Calum1015
Viewing all articles
Browse latest Browse all 19

Unity clearing my scene when I press play in the editor

$
0
0
Hello Unity community, I am having a problem within the unity editor. Today I was writing a few scripts to spawn in a player using Photon Unity Networking. I do not believe this issue arose from the scripts though. The problem is that when I run my scene in unity, all of the sudden my scene clears itself, removing all gameobjects, child objects, just everything. I have no destroy functions in my scripts. This has been happening for a while and I cannot find a way to prevent it. It justs destroys my scene and I have to rebuild everything, for some reason it saves the scene after wiping so I can't get my saves back. If someone could help that would be great, also I have tried reinstalling unity, restarting my comp, even tried a debugging scene with just a terrain and a camera (not a player) and it still happens. I can't test my scripts anymore in any way. Please help! Engine version is Unity 5.0.0

Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>