我刚刚干净安装了Unity 5.6.3p1 (我需要它)并且编辑器在循环中崩溃并出现错误:
IndexOutOfRangeException: Array index is out of range.
UnityEditor.SceneRenderModeWindow.GetGUIContent (DrawCameraMode drawCameraMode) (at C:/buildslave/unity/build/Editor/Mono/Annotation/SceneRenderModeWindow.cs:356)
UnityEditor.SceneView.DoToolbarGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:530)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1502)
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
使编辑器无法使用。
当我没有这样的目录时,我不知道为什么它指向“C:/ buildslave / ..”。
也许有人有这个错误并且知道如何解决它?