DeepWolf413 / Cozyheim-Mods

The git repo for all cozyheim mods - fixed by DeepWolf413
2 stars 0 forks source link

errror on logout #12

Open PaloAlo opened 1 month ago

PaloAlo commented 1 month ago

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: Cozyheim.LevelingSystem.XPManager.SetPlayerLevel (System.Int32 level) (at <213946ecdcaa4e0ea59f4fe6db2055be>:0) Cozyheim.LevelingSystem.UIManager.DestroySelf () (at <213946ecdcaa4e0ea59f4fe6db2055be>:0) Cozyheim.LevelingSystem.PatchXP_Monster+PatchClass.Game_Logout_Prefix () (at <213946ecdcaa4e0ea59f4fe6db2055be>:0) (wrapper dynamic-method) Game.DMD(Game,bool,bool) (wrapper dynamic-method) Menu.DMD(Menu) Menu.OnLogoutYes () (at :0) UnityEngine.Events.InvokableCall.Invoke () (at :0) UnityEngine.Events.UnityEvent.Invoke () (at :0) UnityEngine.UI.Button.Press () (at :0) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at :0) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at :0) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at :0) UnityEngine.EventSystems.EventSystem:Update()

im getting this on logout, ashlands build 218.15 single player mode i was using Infinity Hammer and it errored forcing a game freeze, i tried to logout with the esc menu and this error came out. i had to force close the game.

DeepWolf413 commented 1 month ago

Hi, thanks I'll fix it for the next update :-)