factubsio / BubbleBuffs

Bubbles Ultimate Buff Bot Lite Extra Simple (BUBBLES)
MIT License
18 stars 17 forks source link

Exceptions during level up #35

Open WittleWolfie opened 1 year ago

WittleWolfie commented 1 year ago

Describe the bug This is mostly just log spam but might be contributing to a bug I've seen where typing in the search bar for feats or spells just absolutely breaks the game.

To Reproduce Steps to reproduce the behavior:

  1. Level up a character (maybe spells but I think it happens for feats too)
  2. Watch the log!

Trace

[374.9087 - Default]: Exception in subscriber BubbleBuffs.ServiceWindowWatcher
Kingmaker.PubSubSystem.SubscriptionManager`1[[Kingmaker.PubSubSystem.IGlobalSubscriber, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].RaiseEvent(System.Action`1[Kingmaker.PubSubSystem.IUIEventHandler],System.Boolean) (at :0)
Kingmaker.PubSubSystem.EventBus.RaiseEvent(System.Action`1[Kingmaker.PubSubSystem.IUIEventHandler],System.Boolean) (at :0)
Kingmaker.UI.MVVM._VM.ServiceWindows.Spellbook.SpellbookVM.OnSpellbookSelected(Kingmaker.UnitLogic.Spellbook) (at :0)
UniRx.Observer+Subscribe`1[[Kingmaker.UnitLogic.Spellbook, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].OnNextInternal(Kingmaker.UnitLogic.Spellbook) (at :0)
UniRx.Observer+BaseObserver`1[[Kingmaker.UnitLogic.Spellbook, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].OnNext(Kingmaker.UnitLogic.Spellbook) (at :0)
UniRx.ReactiveProperty`1[[Kingmaker.UnitLogic.Spellbook, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].Subscribe(System.IObserver`1[Kingmaker.UnitLogic.Spellbook]) (at :0)
UniRx.ObservableExtensions.Subscribe(System.IObservable`1[Kingmaker.UnitLogic.Spellbook],System.Action`1[Kingmaker.UnitLogic.Spellbook]) (at :0)
Kingmaker.UI.MVVM._VM.ServiceWindows.Spellbook.SpellbookVM.Create() (at :0)
Kingmaker.UI.MVVM._VM.ServiceWindows.Spellbook.SpellbookVM..ctor(UniRx.IReactiveProperty`1[Kingmaker.UnitLogic.UnitDescriptor]) (at :0)
Kingmaker.UI.MVVM._VM.CharGen.Phases.Spells.CharGenSpellsPhaseVM.CreateSpellbookVM() (at :0)
Kingmaker.UI.MVVM._VM.CharGen.Phases.Spells.CharGenSpellsPhaseVM.Kingmaker.UI.MVVM._VM.CharGen.Phases.Spells.CharGenSpellsPhaseVM.OnBeginDetailedView_Patch1(Kingmaker.UI.MVVM._VM.CharGen.Phases.Spells.CharGenSpellsPhaseVM) (at :0)
Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM.BeginDetailedView() (at :0)
Kingmaker.UI.MVVM._PCView.CharGen.CharGenView.CurrentPhaseChanged(Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM) (at :0)
UniRx.Observer+Subscribe`1[[Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].OnNextInternal(Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM) (at :0)
UniRx.Observer+BaseObserver`1[[Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].OnNext(Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM) (at :0)
UniRx.ObserverNode`1[[Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].OnNext(Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM) (at :0)
UniRx.ReactiveProperty`1[[Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].RaiseOnNext(Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM&) (at :0)
UniRx.ReactiveProperty`1[[Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].set_Value(Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM) (at :0)
Owlcat.Runtime.UI.SelectionGroup.SelectionGroupRadioVM`1[[Kingmaker.UI.MVVM._VM.CharGen.Phases.CharGenPhaseBaseVM, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].SelectNextValidEntity() (at :0)
Kingmaker.UI.MVVM._PCView.CharGen.CharGenRoadmapMenuView.SelectNextPhase() (at :0)
Kingmaker.UI.MVVM._PCView.CharGen.CharGenView.GoToNextPhaseOrComplete(System.Boolean) (at :0)
Kingmaker.UI.MVVM._PCView.CharGen.CharGenView.<NextPressed>b__24_0() (at :0)
Owlcat.Runtime.UniRx.DelayedInvoker+<InvokeInFramesCoroutine>d__6.MoveNext() (at :0)
UnityEngine.SetupCoroutine.InvokeMoveNext(System.Collections.IEnumerator,System.IntPtr) (at :0)

[374.9097 - Default]: Object reference not set to an instance of an object
  at BubbleBuffs.BubbleBuffSpellbookController.FadeOut (UnityEngine.GameObject obj) [0x00001] in D:\Ithiel\Documents\GitHub\BubbleBuffs\BubbleBuffs\BubbleBuffer.cs:212 

  at BubbleBuffs.BubbleBuffSpellbookController.Hide () [0x00001] in D:\Ithiel\Documents\GitHub\BubbleBuffs\BubbleBuffs\BubbleBuffer.cs:288 

  at BubbleBuffs.ServiceWindowWatcher.HandleUIEvent (Kingmaker.PubSubSystem.UIEventType type) [0x00001] in D:\Ithiel\Documents\GitHub\BubbleBuffs\BubbleBuffs\BubbleBuffer.cs:1542 

  at Kingmaker.UI.MVVM._VM.ServiceWindows.Spellbook.SpellbookVM+<>c__DisplayClass23_0.<OnSpellbookSelected>b__0 (Kingmaker.PubSubSystem.IUIEventHandler h) [0x00013] in <73ef51a74eba41d999c92b11bb5b6fa3>:0 

  at Kingmaker.PubSubSystem.SubscriptionManager`1[TSubscriber].ExecuteAction[T] (System.Action`1[T] action, System.Object subscriber) [0x00073] in <73ef51a74eba41d999c92b11bb5b6fa3>:0 

  at Kingmaker.PubSubSystem.SubscriptionManager`1[TSubscriber].RaiseEvent[T] (System.Action`1[T] action, System.Boolean isCheckRuntime) [0x00083] in <73ef51a74eba41d999c92b11bb5b6fa3>:0 
factubsio commented 1 year ago

Is this the Shift-B debug bug?

WittleWolfie commented 1 year ago

I think this is unrelated, but it's possible.