Closed polycone closed 1 year ago
Version: e63e348094657f5a51b84a09e8be3c82d7a822ec
Steps to reproduce
Result
Error in Ada.MinionIdentity.OnSpawn System.NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component) at Util.KDestroyGameObject (UnityEngine.Component original) [0x00011] in -\Util.cs:165 at ScheduleScreenEntry.RebuildMinionWidgets () [0x0001e] in -\ScheduleScreenEntry.cs:110 at (wrapper dynamic-method) ScheduleScreenEntry.ScheduleScreenEntry.OnScheduleChanged_Patch1(ScheduleScreenEntry,Schedule) at (wrapper delegate-invoke) System.Action`1[Schedule].invoke_void_T(Schedule) at Schedule.Changed () [0x00041] in -\Schedule.cs:145 at Schedule.Assign (Schedulable schedulable) [0x0001a] in -\Schedule.cs:165 at ScheduleManager.OnAddDupe (MinionIdentity minion) [0x00010] in -\ScheduleManager.cs:86 at (wrapper delegate-invoke) System.Action`1[MinionIdentity].invoke_void_T(MinionIdentity) at Components+Cmps`1[T].Add (T cmp) [0x00022] in -\Components.cs:61 at MinionIdentity.OnSpawn () [0x000d2] in -\MinionIdentity.cs:160 at KMonoBehaviour.Spawn () [0x0005d] in -\KMonoBehaviour.cs:137 UnityEngine.StackTraceUtility:ExtractStackTrace () UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) UnityEngine.Logger:Log (UnityEngine.LogType,object,UnityEngine.Object) UnityEngine.Debug:LogError (object,UnityEngine.Object) Debug:LogError (object,UnityEngine.Object) (at -/Debug.cs:130) DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) (at -/DebugUtil.cs:155) DebugUtil:LogException (UnityEngine.Object,string,System.Exception) (at -/DebugUtil.cs:162) KMonoBehaviour:Spawn () (at -/KMonoBehaviour.cs:142) Util:SpawnComponent (UnityEngine.Component) (at -/Util.cs:63) MyAttributeManager`1<UnityEngine.Component>:OnStart (object,KMonoBehaviour) (at -/MyAttributeManager.cs:143) MyAttributes:OnStart (object,KMonoBehaviour) (at -/MyAttributes.cs:30) MyAttributes:OnStart (KMonoBehaviour) (at -/MyAttributes.cs:36) KMonoBehaviour:Spawn () (at -/KMonoBehaviour.cs:134) Util:SpawnComponent (UnityEngine.Component) (at -/Util.cs:63) MyAttributeManager`1<UnityEngine.Component>:OnStart (object,KMonoBehaviour) (at -/MyAttributeManager.cs:143) MyAttributes:OnStart (object,KMonoBehaviour) (at -/MyAttributes.cs:30) MyAttributes:OnStart (KMonoBehaviour) (at -/MyAttributes.cs:36) KMonoBehaviour:Spawn () (at -/KMonoBehaviour.cs:134) KMonoBehaviour:Start () (at -/KMonoBehaviour.cs:114)
Version: e63e348094657f5a51b84a09e8be3c82d7a822ec
Steps to reproduce
Result