0

Preference screen blacked out

Sam Leitch 3 weeks ago in Game Creator updated 3 weeks ago 3

I am not able to get access to anything in the Game Creator Preferences. 

I was creating a new quest that had an 8 step incremental process to complete. 

I closed the preferences and reopened it and this.

I restarted unity without saving hoping this would problem would disapear with a restart.

Unfortunately its still there and I am getting a large number of errors. Below i have pasted the first 5 of 15. I believe these were not there pre this error.



I am now getting a large number of ever increasing errors.


ArgumentException: An item with the same key has already been added. Key: 57108
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at :0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at :0)
GameCreator.Quests.QuestsTreeView.BuildTree (UnityEditor.IMGUI.Controls.TreeViewItem& parentTree, GameCreator.Quests.IQuest parentAsset) (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:47)
GameCreator.Quests.QuestsTreeView.BuildTree (UnityEditor.IMGUI.Controls.TreeViewItem& parentTree, GameCreator.Quests.IQuest parentAsset) (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:69)
GameCreator.Quests.QuestsTreeView.BuildTree (UnityEditor.IMGUI.Controls.TreeViewItem& parentTree, GameCreator.Quests.IQuest parentAsset) (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:69)
GameCreator.Quests.QuestsTreeView.BuildTree (UnityEditor.IMGUI.Controls.TreeViewItem& parentTree, GameCreator.Quests.IQuest parentAsset) (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:69)
GameCreator.Quests.QuestsTreeView.BuildTree (UnityEditor.IMGUI.Controls.TreeViewItem& parentTree, GameCreator.Quests.IQuest parentAsset) (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:69)
GameCreator.Quests.QuestsTreeView.BuildRoot () (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:79)
UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at :0)
UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at :0)
UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at :0)
UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at :0)
UnityEditor.IMGUI.Controls.TreeView.Reload () (at :0)
GameCreator.Quests.QuestsTreeView..ctor (UnityEditor.IMGUI.Controls.TreeViewState state, GameCreator.Quests.DatabaseQuestsEditor questsEditor) (at Assets/Plugins/GameCreator/Quests/Editor/Database/QuestsTreeView.cs:42)
GameCreator.Quests.DatabaseQuestsEditor.OnEnable () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:91)
UnityEditor.Editor:CreateEditor(Object)
GameCreator.Core.DatabaseInfo:.ctor(IDatabase) (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:32)
GameCreator.Core.PreferencesWindow:LoadDatabases() (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:147)
GameCreator.Core.PreferencesWindow:OpenWindow() (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:224)

NullReferenceException: Object reference not set to an instance of an object
GameCreator.Quests.DatabaseQuestsEditor.PaintQuestToolbar () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:270)
GameCreator.Quests.DatabaseQuestsEditor.OnInspectorGUI () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:261)
GameCreator.Core.IDatabaseEditor.OnPreferencesWindowGUI () (at Assets/Plugins/GameCreator/Core/Editor/Data/IDatabaseEditor.cs:17)
GameCreator.Core.PreferencesWindow.PaintContent (System.Int32 currentSidebarIndex) (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:190)
GameCreator.Core.PreferencesWindow.OnGUI () (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:92)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at :0)
UnityEditor.HostView.Invoke (System.String methodName) (at :0)
UnityEditor.HostView.OldOnGUI () (at :0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

NullReferenceException: Object reference not set to an instance of an object
GameCreator.Quests.DatabaseQuestsEditor.PaintQuestToolbar () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:270)
GameCreator.Quests.DatabaseQuestsEditor.OnInspectorGUI () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:261)
GameCreator.Core.IDatabaseEditor.OnPreferencesWindowGUI () (at Assets/Plugins/GameCreator/Core/Editor/Data/IDatabaseEditor.cs:17)
GameCreator.Core.PreferencesWindow.PaintContent (System.Int32 currentSidebarIndex) (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:190)
GameCreator.Core.PreferencesWindow.OnGUI () (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:92)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at :0)
UnityEditor.HostView.Invoke (System.String methodName) (at :0)
UnityEditor.HostView.OldOnGUI () (at :0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <819de1aa368e45faa4f78e26c97c62b0>:0)

NullReferenceException: Object reference not set to an instance of an object
GameCreator.Quests.DatabaseQuestsEditor.PaintQuestToolbar () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:270)
GameCreator.Quests.DatabaseQuestsEditor.OnInspectorGUI () (at Assets/Plugins/GameCreator/Quests/Editor/Database/DatabaseQuestsEditor.cs:261)
GameCreator.Core.IDatabaseEditor.OnPreferencesWindowGUI () (at Assets/Plugins/GameCreator/Core/Editor/Data/IDatabaseEditor.cs:17)
GameCreator.Core.PreferencesWindow.PaintContent (System.Int32 currentSidebarIndex) (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:190)
GameCreator.Core.PreferencesWindow.OnGUI () (at Assets/Plugins/GameCreator/Core/Editor/Preferences/PreferencesWindow.cs:92)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at :0)
UnityEditor.HostView.Invoke (System.String methodName) (at :0)
UnityEditor.HostView.OldOnGUI () (at :0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <819de1aa368e45faa4f78e26c97c62b0>:0)

Unity version:
2019.4.1f1
Game Creator version:
1.1.9

Update. Clearing all warnings and opening Preferences again and consistantly get these four errors.

Ok using quest module, I was updating an existing quest that was traditional formula. On complete activate next stage of quest. I was converting it over to an incremental quest where I needed to kill 8 enemy's to complete it and activate next quest. The quest was live in the game and working before the conversion to incremental. Could this have done something to glitch out the Preferences?

Looks like it was another issue with the Quest Module. Removed Database Quest and everything opens fine. Just no Quests now. I did keep the damaged one. If you have any tips on how to repair it, it would be greatly appreciated.