Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
No, sorry - but the update is scheduled for this week :)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
@pesukarhu Hm, do you know which formula is causing that? Looks like it's caused by a Value node (first in the formula) that uses a variable stored in something from selected data - I'd need the details of the settings for the selected data you try to access :)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
gamingislove said: Hm, do you know which formula is causing that? Looks like it's caused by a Value node (first in the formula) that uses a variable stored in something from selected data - I'd need the details of the settings for the selected data you try to access :)
@pesukarhu Well, it's on every formula when testing in the editor because the formula is used by (probably) some status value, i.e. initializing them for testing in the editor already causes the problem. It's probably a combined status value that uses a formula where the first node is a Value node, using variables stored in selected data - I'd need the details of that node :)
Edit: Yeah, also happening here when using selected data from the combatant in a combined status value - will be fixed in the next update. There'll probably be a small bugfix update, either at the end of this week or next week.
Post edited by gamingislove on
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Since 2.28.0 BETA2 (and with 2.28.0 official), the callback Combatant.Status[id].changed doesn't work anymore. However, when I changed it to Combatant.Status[id].valueChanged, it works fine. The only difference is that it returns a NotifyCombatantInt2 type instead of NotifyCombatantInt, which needs another int to pass the changed value.
There where a lot of changes to the event handlers (and new additions). Depending on your setup and use case, Changed might no longer be called for you - if you just need to be notified that something changed (without any combatant/ID information), use the SimpleChanged handler, otherwise the ValueChanged.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
It's more like a deprecated feature, I guess ... it's no longer used by ORK, so it'll probably be removed soon.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
There's always the potential that major updates (i.e. 2.X version changes) change functionality or names in the source code, so there's no long term guarantee. The change to a lot of event handlers in this version comes from the HUD performance improvements. I'd say it's safe for some time now :)
Post edited by gamingislove on
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I'm getting console errors though. I get this error when loading the scene:
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.Formulas.FormulaSelectedDataOrigin.Get (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaSelectedDataOrigin.GetSelectedData (ORKFramework.FormulaCall call, System.String selectedKey) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaSelectedData.GetSelectedData (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaStatusOrigin.GetCombatant (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaVariableOrigin.GetSingle (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaFloat.GetValue (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.Steps.ValueStep.Calculate (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.Formula.Calculate (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.StatusValue.FinalValue (System.Single percentBonus) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Combatants.CombatantStatus.ResetStatus (System.Boolean checkDeath) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Combatant.Init (System.Int32 level, System.Int32 classLevel, System.Int32 classID, System.Boolean loadGame, System.Boolean learnAbilities, System.Boolean useStartInventory, System.Boolean useStartEquipment, System.Boolean useInitEvent, System.Boolean useStatusEffects) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.CombatantAccessHandler.CreateInstance (System.Int32 index, ORKFramework.Group group, System.Boolean showNotification, System.Boolean showConsole, System.Int32 level, System.Int32 classLevel, System.Int32 classID, System.Boolean loadGame, System.Boolean learnAbilities, System.Boolean useStartInventory, System.Boolean useStartEquipment, System.Boolean useInitEvent, System.Boolean useStatusEffects) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Events.Steps.JoinActiveGroupStep.Execute (ORKFramework.Events.BaseEvent baseEvent) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Events.GameEvent.ExecuteNextStep () (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Events.BaseEvent.StepFinished (System.Int32 next) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.DialogueChoice.Closed (ORKFramework.GUIBox origin) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.GUIBoxContent.Closed () (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.DialogueContent.Closed () (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.GUIBox.Tick (System.Single t) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.GUIHandler.Tick (System.Single t) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.GUIHandler.Tick () (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.ORKCore.FireTick () (at <81f7efca5b284b7ea7234e1fa2c9d84c>:0)
ORKFramework.ORKHandler.Update () (at <81f7efca5b284b7ea7234e1fa2c9d84c>:0)
And also a similar looking one when testing out formulas in the editor.
Hm, do you know which formula is causing that?
Looks like it's caused by a Value node (first in the formula) that uses a variable stored in something from selected data - I'd need the details of the settings for the selected data you try to access :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.Formulas.FormulaSelectedDataOrigin.Get (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaSelectedDataOrigin.GetSelectedData (ORKFramework.FormulaCall call, System.String selectedKey) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaSelectedData.GetSelectedData (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaStatusOrigin.GetCombatant (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaVariableOrigin.GetSingle (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.FormulaFloat.GetValue (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.Steps.ValueStep.Calculate (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Formulas.Formula.Calculate (ORKFramework.FormulaCall call) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.StatusValue.FinalValue (System.Single percentBonus) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Combatants.CombatantStatus.ResetStatus (System.Boolean checkDeath) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Combatant.Init (System.Int32 level, System.Int32 classLevel, System.Int32 classID, System.Boolean loadGame, System.Boolean learnAbilities, System.Boolean useStartInventory, System.Boolean useStartEquipment, System.Boolean useInitEvent, System.Boolean useStatusEffects) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.CombatantAccessHandler.CreateInstance (System.Int32 index, ORKFramework.Group group, System.Boolean showNotification, System.Boolean showConsole, System.Int32 level, System.Int32 classLevel, System.Int32 classID, System.Boolean loadGame, System.Boolean learnAbilities, System.Boolean useStartInventory, System.Boolean useStartEquipment, System.Boolean useInitEvent, System.Boolean useStatusEffects) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.CombatantInit.Create (ORKFramework.Group group) (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Editor.FormulasTab.ShowSettings () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.FormulasTab.ShowTab () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.ORKEditorSection.ShowTab () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.ORKEditorWindow.OnGUI () (at <35fce820dff64fa8bc767ad2234ed582>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
UnityEditor.DockArea.OldOnGUI () (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean canAffectFocus) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <59837000ebf54955a9cb1d31caa86097>:0)
I even tried a totally basic formula with only one node Value -> Set -> 0 and even that gave the error.
Well, it's on every formula when testing in the editor because the formula is used by (probably) some status value, i.e. initializing them for testing in the editor already causes the problem.
It's probably a combined status value that uses a formula where the first node is a Value node, using variables stored in selected data - I'd need the details of that node :)
Edit: Yeah, also happening here when using selected data from the combatant in a combined status value - will be fixed in the next update.
There'll probably be a small bugfix update, either at the end of this week or next week.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
When adding 'Remove Scene Data' node on Event Editor, Unity throws this:
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.Events.Steps.RemoveSceneDataStep.GetNodeDetails () (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Editor.ORKNodeEditor.DrawNode (ORKFramework.BaseNode node, System.Boolean isSelected, System.Boolean visited) (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.ORKNodeEditor.ShowNodes (ORKFramework.BaseNode start, ORKFramework.BaseNode[] nodes) (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.EventsTab.ShowSettings () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.EventsTab.ShowTab () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.EventsSection.ShowTab () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.ORKEditorWindow.OnGUI () (at <35fce820dff64fa8bc767ad2234ed582>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.DockArea.OldOnGUI () (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <59837000ebf54955a9cb1d31caa86097>:0)
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.Events.Steps.RemoveSceneDataStep.GetNodeDetails () (at <7abe1a5edd584969b0f09b98b7a8443f>:0)
ORKFramework.Editor.ORKNodeEditor.DrawNode (ORKFramework.BaseNode node, System.Boolean isSelected, System.Boolean visited) (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.ORKNodeEditor.ShowNodes (ORKFramework.BaseNode start, ORKFramework.BaseNode[] nodes) (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.EventsTab.ShowSettings () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.EventsTab.ShowTab () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.EventsSection.ShowTab () (at <35fce820dff64fa8bc767ad2234ed582>:0)
ORKFramework.Editor.ORKEditorWindow.OnGUI () (at <35fce820dff64fa8bc767ad2234ed582>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEditor.DockArea.OldOnGUI () (at <9a184ab867bb42c296d20ace04f48df3>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>: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)
Using Unity 2019.3.3f1
Thanks