Loading Game

Hello everyone, I am having some problems while loading my project. Every time I load the hierarchy does not show anything and it just has like the magnifying glass icon. Every time I click on it or do anything with it, it just gives me errors. The error is:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectTreeViewDataSource.IsUsingAlphaSort () (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/GameObjectTreeViewDataSource.cs:260)
UnityEditor.GameObjectTreeViewDataSource.CreateHierarchyProperty () (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/GameObjectTreeViewDataSource.cs:159)
UnityEditor.GameObjectTreeViewDataSource.FetchData () (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/GameObjectTreeViewDataSource.cs:189)
UnityEditor.LazyTreeViewDataSource.InitIfNeeded () (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/LazyTreeViewDataSource.cs:112)
UnityEditor.TreeView.OnGUI (Rect rect, Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeView.cs:483)
UnityEditor.SceneHierarchyWindow.DoTreeView (Single searchPathHeight) (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:505)
UnityEditor.SceneHierarchyWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:320)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

Anyone have solutions or at least have had the same problem?

I just had the same thing happen and found this post. Restarting Unity fixed it but I’ve been getting similar errors for a couple of months now. It also occurs (and spams the console with errors) when resizing project and hierarchy panels. Annoying, but not a huge inconvenience.

Unity Pro v5.3.5f1 on OSX 10.10.5 if it matters