mend-dev / BTD6Rogue

10 stars 4 forks source link

How #6

Open TheMysteryKnight opened 1 year ago

TheMysteryKnight commented 1 year ago

20230804190229_1

MommaBear091992 commented 1 year ago

yes this is what keeps happening to me with the new updates! the last like 3 or 4 updates do this to me!

TheMysteryKnight commented 1 year ago

[12:42:31.109] [BloonsTD6_Mod_Helper] System.NullReferenceException: Object reference not set to an instance of an object. at BTD_Mod_Helper.Extensions.TowerModelExt.GetUpgradeLevel(TowerModel towerModel, Int32 path) at BTD6Rogue.TowerUtil.DuplicatePath(TowerModel tower) in /home/runner/work/BTD6Rogue/BTD6Rogue/BTD6Rogue/Util/TowerUtil.cs:line 41 at BTD6Rogue.TowerUtil.GetThreeTowers(Int32 maxPath, Boolean waterMap) in /home/runner/work/BTD6Rogue/BTD6Rogue/BTD6Rogue/Util/TowerUtil.cs:line 31 at BTD6Rogue.TowerChoicePanel.Create(RectTransform menu, InGame instance) in /home/runner/work/BTD6Rogue/BTD6Rogue/BTD6Rogue/Panels/TowerChoicePanel.cs:line 77 at BTD6Rogue.RoundEndPatch.Postfix(InGame instance, Int32 completedRound, Int32 highestCompletedRound) in /home/runner/work/BTD6Rogue/BTD6Rogue/BTD6Rogue/Patches/RoundEndPatch.cs:line 47 at DMD(InGame this, Int32 completedRound, Int32 highestCompletedRound) at (il2cpp -> managed) RoundEnd(IntPtr , Int32 , Int32 , Il2CppMethodInfo* )

That's what the console spat out when i got this screen

mend-dev commented 1 year ago

I'll look into it, I can't seem to replicate the bug on my end, but I'll see what I can do. If you remember all the mods you were using at the same time when this occurred and any errors in console, that'd be helpful