Hi,
I'm using shortcut to perform the ability, I disabled all Battle Menu related settings, and enable auto-target settings, when I click the shortcut slot, shows the error:

NullReferenceException: Object reference not set to an instance of an object
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.GetTitle () (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.Clear () (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.Close () (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.Combatants.CombatantBattle.EndBattleMenu (System.Boolean cancel) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.Combatants.CombatantActions.Add (GamingIsLove.ORKFramework.BaseAction action, System.Boolean newTurn) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.ActionAccessHandler.AddActionToCombatant (GamingIsLove.ORKFramework.Combatant user, GamingIsLove.ORKFramework.BaseAction action, System.Boolean newTurn) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.Combatants.CombatantActions.AddAccess (GamingIsLove.ORKFramework.BaseAction action, System.Boolean newTurn) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.AbilityShortcut.Use (GamingIsLove.ORKFramework.Combatant user, System.Collections.Generic.List`1[T] targets, System.Boolean useAction) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.ActionAccessHandler.UseShortcut (GamingIsLove.ORKFramework.IShortcut shortcut, GamingIsLove.ORKFramework.Combatant user, System.Collections.Generic.List`1[T] targets, System.Boolean useAction) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.DragShortcutWrapper.UseOn (GamingIsLove.ORKFramework.Combatant target, System.Boolean animate) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.UI.HUDShortcutSlotInputSettings.Clicked (GamingIsLove.ORKFramework.DragShortcutWrapper current, GamingIsLove.Makinom.UI.IUIBase origin) (at <b472cc6af962488c83999bb8ab3a9734>:0)
GamingIsLove.ORKFramework.Components.HUDShortcutSlotContentComponent.OnPointerClick (UnityEngine.EventSystems.PointerEventData data) (at <cc6aecb5a6f642bb9051197f6f70cd9f>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:262)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
GamingIsLove.Makinom.Components.MakinomInputModule:ProcessMousePress(MouseButtonEventData)
GamingIsLove.Makinom.Components.MakinomInputModule:ProcessMouseEvent(Int32)
GamingIsLove.Makinom.Components.MakinomInputModule:ProcessMouseEvent()
GamingIsLove.Makinom.Components.MakinomInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update() (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:385)


I lost all of my ORK settings for the project, and now I have redone the most part, I'm not sure where I did wrong. The error shows like the ORK still wants to call the Battle Menu or Target Selection menu.
  • Fixed by setting a Default Battle Menu in Battles -> Battle System -> General Settings, even though I don't use the battle menu at all.
  • edited December 2022
    The battle menu is still running in the background for target selections (mainly selection inputs) - you probably also got a warning in the console about no battle menu being selected.
    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!
Sign In or Register to comment.