I've been working through the 3D RPG Quickstart tutorials, and things have been going great so far.
I just got through the first half of the 14 Random Battles section, and whenever I do the testing, I get the following error as it transitions to a random battle:
NullReferenceException: Object reference not set to an instance of an object
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.Show (System.Collections.Generic.List`1[T] list, System.Int32 selection, GamingIsLove.ORKFramework.BattleMenuMode mode, System.Boolean restored) (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.ShowList () (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.Show (System.Boolean reset) (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu.Show () (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.Combatants.CombatantBattle.ShowBattleMenu () (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.Combatants.CombatantActions.Choose (System.Boolean newTurn, System.Boolean autoCallMenu) (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.ActionAccessHandler.Choose (GamingIsLove.ORKFramework.Combatant combatant, System.Boolean newTurn, System.Boolean autoCallMenu) (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.Combatants.CombatantActions.ChooseAccess (System.Boolean newTurn, System.Boolean autoCallMenu) (at <2b93e4050d3344f9b3b6a593c984a400>:0)
GamingIsLove.ORKFramework.TurnBasedBattleSystem+d__95.MoveNext () (at <2b93e4050d3344f9b3b6a593c984a400>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
It also gives a warning with the following text:
Trying to create a UI box without a selected UI box.
UnityEngine.Debug:LogWarning (object)
GamingIsLove.Makinom.UIBoxSelection:Create ()
GamingIsLove.ORKFramework.BattleMenu:CreateUIBox (GamingIsLove.ORKFramework.BattleMenuMode)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu:Show (System.Collections.Generic.List`1,int,GamingIsLove.ORKFramework.BattleMenuMode,bool)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu:ShowList ()
GamingIsLove.ORKFramework.UI.ActiveBattleMenu:Show (bool)
GamingIsLove.ORKFramework.UI.ActiveBattleMenu:Show ()
GamingIsLove.ORKFramework.Combatants.CombatantBattle:ShowBattleMenu ()
GamingIsLove.ORKFramework.Combatants.CombatantActions:Choose (bool,bool)
GamingIsLove.ORKFramework.ActionAccessHandler:Choose (GamingIsLove.ORKFramework.Combatant,bool,bool)
GamingIsLove.ORKFramework.Combatants.CombatantActions:ChooseAccess (bool,bool)
GamingIsLove.ORKFramework.TurnBasedBattleSystem/d__95:MoveNext ()
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
What would you recommend for fixing this issue?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!