The following error sometimes occurs when loading a saved game. The scene doesn't finish loading and the black screen fader is displayed. Any ideas?

NullReferenceException: Object reference not set to an instance of an object
GamingIsLove.ORKFramework.Combatants.CombatantAbilities.GetBaseAttack (System.Int32& index) (at :0)
GamingIsLove.ORKFramework.Combatants.CombatantAbilities.GetBaseAttack (System.Int32 index) (at :0)
GamingIsLove.ORKFramework.AbilityLinkShortcut.UpdateAbility (GamingIsLove.ORKFramework.Combatant combatant) (at :0)
GamingIsLove.ORKFramework.Combatants.CombatantShortcutList.LoadGame (GamingIsLove.Makinom.DataObject data) (at :0)
GamingIsLove.ORKFramework.ClassShortcut.LoadGame (GamingIsLove.Makinom.DataObject data) (at :0)
GamingIsLove.ORKFramework.Combatants.CombatantClass.LoadGame (GamingIsLove.Makinom.DataObject data) (at :0)
GamingIsLove.ORKFramework.Combatant.LoadGame (GamingIsLove.Makinom.DataObject data) (at :0)
GamingIsLove.ORKFramework.Combatant..ctor (GamingIsLove.Makinom.DataObject data, System.Boolean loadPosition, GamingIsLove.ORKFramework.Group group) (at :0)
GamingIsLove.ORKFramework.Group.LoadMembers (GamingIsLove.Makinom.DataObject data, System.Boolean loadPositions) (at :0)
GamingIsLove.ORKFramework.ORKPlayerHandler.LoadGame (GamingIsLove.Makinom.DataObject data) (at :0)
GamingIsLove.ORKFramework.ORKSaveGameHandler.Loaded (GamingIsLove.Makinom.DataObject data) (at :0)
GamingIsLove.Makinom.SaveGameHandler.Loaded (GamingIsLove.Makinom.DataObject data) (at <304103d22f5342648aaccda4f04f6b80>:0)
GamingIsLove.Makinom.Components.SceneChanger+d__26.MoveNext () (at <304103d22f5342648aaccda4f04f6b80>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
GamingIsLove.Makinom.Components.SceneChanger:OnSceneLoaded()
GamingIsLove.Makinom.Maki:FireSceneLoaded()
GamingIsLove.Makinom.Maki:OnSceneLoaded(String, Boolean)
GamingIsLove.Makinom.MakinomHandler:OnSceneLoaded(Scene, LoadSceneMode)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)
  • Will add some safeguards in the next update.
    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.