[BUG] After deleting the Demo folder, the Main Manager cannot be opened.

WeiYiHua

Member
1. Create a new project with Unity 2021.3.13f1.
2. Download and install Third Person Controller 3.0.6.
3. Delete the Demo folder.
4. Click on Main Manger.

NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Editor.Managers.ItemTypeManager.Refresh () (at Assets/Opsive/UltimateCharacterController/Editor/Managers/ItemTypeManager.cs:307)
Opsive.Shared.Editor.UIElements.Managers.MainManagerWindow.OnFocus () (at <9f2e26cb4b15436fab3a3b16c90e5421>:0)
UnityEditor.HostView.RegisterSelectedPane (System.Boolean sendEvents) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.HostView.SetActualViewInternal (UnityEditor.EditorWindow value, System.Boolean sendEvents) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.DockArea.SetSelectedPrivate (System.Int32 value, System.Boolean sendEvents) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.DockArea.AddTab (System.Int32 idx, UnityEditor.EditorWindow pane, System.Boolean sendPaneEvents) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.DockArea.AddTab (UnityEditor.EditorWindow pane, System.Boolean sendPaneEvents) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.CreateNewWindowForEditorWindow (UnityEditor.EditorWindow window, System.Boolean loadPosition, System.Boolean showImmediately, System.Boolean setFocus) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.Show (System.Boolean immediateDisplay) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.Show () (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.GetWindowPrivate (System.Type t, System.Boolean utility, System.String title, System.Boolean focus) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.GetWindow (System.Type t, System.Boolean utility, System.String title, System.Boolean focus) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.GetWindow[T] (System.Boolean utility, System.String title, System.Boolean focus) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
UnityEditor.EditorWindow.GetWindow[T] (System.Boolean utility, System.String title) (at <dc1a47a5816e4be7bc6817ee4d339e75>:0)
Opsive.UltimateCharacterController.Editor.Managers.CharacterMainWindow.ShowWindow () (at Assets/Opsive/UltimateCharacterController/Editor/Managers/CharacterMainWindow.cs:60)
 
Can you write a document for the necessary files of UCC in Demo? Instructions on how to move them and delete the Demo folder completely, thanks!

It would be nice if there was an automated procedure that could be done easily.
 
This has been fixed for the next update. It just needs a null check on the reorderable list. The demo folder can be removed.
 
Top