- Home /
What happened to my scene? Editing it and *pooof!* gone!!
My very first real scene. It was going great and I'd just gotten my lighting just right. Suddenly (and boy do I mean that!) almost everything I'd done in the last 2 hours was gone! I know - I should have saved it sooner, but I was excited to see everything working. The only thing that makes sense is that I was playing around before I got serious and deleted a game object from the scene. I see in the log where it seems to be saying that a script is missing. Could that mean that the object was missing? If so it's badly worded. Deleting a gameobject shouldn't crash the editor! And the console was hiding behind my browser on another screen! Have to say I'm very disappointed now.
Before I go back and start over (Gah!) I want to ASK two things: is this normal behavior and I can expect it to happen again at any moment? And 2nd is there any possible way to recover what I've lost? Below is a bit of the log:
izioComponentEditor:a() VizioComponentEditor:RenderGizmo(Transform, GizmoType) UnityEditor.Handles:Internal_FinishDrawingCamera(Camera) UnityEditor.Handles:DrawCameraStep2(Camera, DrawCameraMode) (at C:\BuildAgent\work\300357e52574df36\Editor\MonoGenerated\Editor\EditorHandles.cs:617) UnityEditor.SceneView:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\SceneView\SceneView.cs:714) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:228) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:221) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:649)
[C:/BuildAgent/work/300357e52574df36/Runtime/Mono/MonoBehaviour.cpp line 1509] (Filename: C:/BuildAgent/work/300357e52574df36/Editor/MonoGenerated/Editor/EditorHandles.cs Line: 617)
Unloading 7 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
Unloading 67 unused Assets to reduce memory usage. Loaded Objects now: 1975. Operation took 162.080273 ms. System memory in use: 78.3 MB. Begin MonoManager ReloadAssembly Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEngine.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.dll (this message is harmless) Non platform assembly: D:\DC Unity\Library\ScriptAssemblies\Assembly-CSharp-firstpass.dll (this message is harmless) Loading D:\DC Unity\Library\ScriptAssemblies\Assembly-CSharp-firstpass.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Library\ScriptAssemblies\Assembly-CSharp.dll (this message is harmless) Loading D:\DC Unity\Library\ScriptAssemblies\Assembly-CSharp.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Library\ScriptAssemblies\Assembly-CSharp-Editor.dll (this message is harmless) Loading D:\DC Unity\Library\ScriptAssemblies\Assembly-CSharp-Editor.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll (this message is harmless) Loading D:\DC Unity\Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Library\ScriptAssemblies\Assembly-UnityScript.dll (this message is harmless) Loading D:\DC Unity\Library\ScriptAssemblies\Assembly-UnityScript.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Assets\VIZIO\Plugins\Antares.Vizio.Runtime.dll (this message is harmless) Loading D:\DC Unity\Assets\VIZIO\Plugins\Antares.Vizio.Runtime.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Assets\VIZIO\Plugins\Antares.Vizio.UnityEngineBlocks.dll (this message is harmless) Loading D:\DC Unity\Assets\VIZIO\Plugins\Antares.Vizio.UnityEngineBlocks.dll into Unity Child Domain Non platform assembly: D:\DC Unity\Assets\VIZIO\Plugins\Editor\Antares.Vizio.Editor.dll (this message is harmless) Loading D:\DC Unity\Assets\VIZIO\Plugins\Editor\Antares.Vizio.Editor.dll into Unity Child Domain Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.West.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Core.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\UnityScript.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Mono.Cecil.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.Compiler.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.Parser.dll (this message is harmless) Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\UnityScript.Lang.dll (this message is harmless) ----- Total AssetImport time: 0.144710s, Asset Import only: 0.000000s, CacheServerIntegrate only: 0.000000s, CacheMove: 0.000000s, CacheDelete: 0.000000s, CacheServer Download: 7915.621582s [Unknown, 1786686976.000000 mb/s], CacheServer Hashing: 7915.621582s [Unknown, 1786686976.000000 mb/s] Mono: successfully reloaded assembly - Completed reload, in 1.663 seconds Unloading 4 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
Unloading 832 unused Assets to reduce memory usage. Loaded Objects now: 1142. Operation took 35.961609 ms. System memory in use: 69.8 MB. The referenced script on this Behaviour is missing! UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type) VizioComponentEditor:a() VizioComponentEditor:RenderGizmo(Transform, GizmoType) UnityEditor.Handles:Internal_FinishDrawingCamera(Camera) UnityEditor.Handles:DrawCameraStep2(Camera, DrawCameraMode) (at C:\BuildAgent\work\300357e52574df36\Editor\MonoGenerated\Editor\EditorHandles.cs:617) UnityEditor.SceneView:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\SceneView\SceneView.cs:714) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:228) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:221) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:649)
[C:/BuildAgent/work/300357e52574df36/Runtime/Mono/MonoBehaviour.cpp line 1509] (Filename: C:/BuildAgent/work/300357e52574df36/Editor/MonoGenerated/Editor/EditorHandles.cs Line: 617)
The referenced script on this Behaviour is missing! UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type) VizioComponentEditor:a() VizioComponentEditor:RenderGizmo(Transform, GizmoType) UnityEditor.Handles:Internal_FinishDrawingCamera(Camera) UnityEditor.Handles:DrawCameraStep2(Camera, DrawCameraMode) (at C:\BuildAgent\work\300357e52574df36\Editor\MonoGenerated\Editor\EditorHandles.cs:617) UnityEditor.SceneView:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\SceneView\SceneView.cs:714) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:228) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:221) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:649)
[C:/BuildAgent/work/300357e52574df36/Runtime/Mono/MonoBehaviour.cpp line 1509] (Filename: C:/BuildAgent/work/300357e52574df36/Editor/MonoGenerated/Editor/EditorHandles.cs Line: 617)
The referenced script on this Behaviour is missing! UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type) VizioComponentEditor:a() VizioComponentEditor:RenderGizmo(Transform, GizmoType) UnityEditor.Handles:Internal_FinishDrawingCamera(Camera) UnityEditor.Handles:DrawCameraStep2(Camera, DrawCameraMode) (at C:\BuildAgent\work\300357e52574df36\Editor\MonoGenerated\Editor\EditorHandles.cs:617) UnityEditor.SceneView:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\SceneView\SceneView.cs:714) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:228) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:221) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:649)
[C:/BuildAgent/work/300357e52574df36/Runtime/Mono/MonoBehaviour.cpp line 1509] (Filename: C:/BuildAgent/work/300357e52574df36/Editor/MonoGenerated/Editor/EditorHandles.cs Line: 617)
The referenced script on this Behaviour is missing! UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type) VizioComponentEditor:a() VizioComponentEditor:RenderGizmo(Transform, GizmoType) UnityEditor.Handles:Internal_FinishDrawingCamera(Camera) UnityEditor.Handles:DrawCameraStep2(Camera, DrawCameraMode) (at C:\BuildAgent\work\300357e52574df36\Editor\MonoGenerated\Editor\EditorHandles.cs:617) UnityEditor.SceneView:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\SceneView\SceneView.cs:714) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:228) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:221) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:649)
[C:/BuildAgent/work/300357e52574df36/Runtime/Mono/MonoBehaviour.cpp line 1509] (Filename: C:/BuildAgent/work/300357e52574df36/Editor/MonoGenerated/Editor/EditorHandles.cs Line: 617)
The referenced script on this Behaviour is missing! UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type) VizioComponentEditor:a() VizioComponentEditor:RenderGizmo(Transform, GizmoType) UnityEditor.Handles:Internal_FinishDrawingCamera(Camera) UnityEditor.Handles:DrawCameraStep2(Camera, DrawCameraMode) (at C:\BuildAgent\work\300357e52574df36\Editor\MonoGenerated\Editor\EditorHandles.cs:617) UnityEditor.SceneView:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\SceneView\SceneView.cs:714) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:228) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:221) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\300357e52574df36\Editor\Mono\GUI\DockArea.cs:649)
Answer by Berenger · Jun 25, 2012 at 03:17 AM
I don't think a missing script could crash Unity. Usually, it's just annoying, printing messages in the console, until you have enough and delete your objects one by one to see which one is problematic.
You probably just had a bad luck.