KomradeSpectre / AetheriumMod

A mod for Risk of Rain 2.
10 stars 9 forks source link

Errors while playing ShigarakiMod #65

Closed Jeserkon closed 7 months ago

Jeserkon commented 1 year ago

When you play a normal game with ShigarakiMod 1.3.0 and Aetherium 0.6.8 installed playing as Shigaraki, an error pops up and repeats itself This is the error: [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: Aetherium.Items.ShieldingCore.ShieldedCoreValidator (On.RoR2.CharacterBody+orig_FixedUpdate orig, RoR2.CharacterBody self) (at <728952a0940e4aa1bdfe0581dcbe74d0>:IL_003B) DMD<>?914734080.Hook?-1801424896 (RoR2.CharacterBody ) (at <947c424a953e4014b9eac605ee1cf3cc>:IL_0014) DMD<>?914734080.Trampoline?824859648 (RoR2.CharacterBody ) (at :IL_0020) Aetherium.Items.UnstableDesign.SummonLunarChimera (On.RoR2.CharacterBody+orig_FixedUpdate orig, RoR2.CharacterBody self) (at <728952a0940e4aa1bdfe0581dcbe74d0>:IL_02BB) DMD<>?914734080.Hook?2010620800 (RoR2.CharacterBody ) (at <8f26af16baa1477ba74e969faa73e0f5>:IL_0014) DMD<>?914734080.Trampoline?-1633061888 (RoR2.CharacterBody ) (at <6a44b3bbe5c648ab8f1882c0177c0dc4>:IL_0020) Aetherium.Items.Voidheart.VoidheartOverlayManager (On.RoR2.CharacterBody+orig_FixedUpdate orig, RoR2.CharacterBody self) (at <728952a0940e4aa1bdfe0581dcbe74d0>:IL_00EB) DMD<>?914734080.Hook?-680995072 (RoR2.CharacterBody ) (at <4249f47f538d4a63b651dede0b93fcae>:IL_0014) DMD<>?914734080.Trampoline?420469760 (RoR2.CharacterBody ) (at <7377dede07f14888a100f8c4d5e78409>:IL_0020) Aetherium.Items.WeightedAnklet.ManageLimiterBuff (On.RoR2.CharacterBody+orig_FixedUpdate orig, RoR2.CharacterBody self) (at <728952a0940e4aa1bdfe0581dcbe74d0>:IL_0001) DMD<>?914734080.Hook?1720418176 (RoR2.CharacterBody ) (at :IL_0014) DMD<>?914734080.Trampoline?-1495690240 (RoR2.CharacterBody ) (at <5c5879612f6349c28b43ffd15aca4176>:IL_0020) Aetherium.Equipment.JarOfReshaping.AddTrackerToBodies (On.RoR2.CharacterBody+orig_FixedUpdate orig, RoR2.CharacterBody self) (at <728952a0940e4aa1bdfe0581dcbe74d0>:IL_0058) DMD<>?914734080.Hook?1683091456 (RoR2.CharacterBody ) (at <8598de56463c407ca6ad577facb2b2ee>:IL_0014) DMD<>?914734080.Trampoline?-538462208 (RoR2.CharacterBody ) (at <1da85c8b011b4f179c8ac3be0d5e12ba>:IL_0020) Aetherium.Equipment.EliteEquipment.EliteEquipmentBase.OverlayManager (On.RoR2.CharacterBody+orig_FixedUpdate orig, RoR2.CharacterBody self) (at <728952a0940e4aa1bdfe0581dcbe74d0>:IL_00DF) DMD<>?914734080.Hook?-742992128 (RoR2.CharacterBody ) (at :IL_0014)

It only happens with Aetherium installed

LogOutput.log

KomradeSpectre commented 7 months ago

I did notice this one recently while playing as Shirigaki, and will do a brief investigation later on to see if I can figure out why its doing it.

KomradeSpectre commented 7 months ago

As far as I can tell, I've fixed this indev by just sanity checking this method even more. Apparently it happened because somehow shigaraki had no character body at some point, or had no health component?