Rain World
Kill Feed
Chủ đề này đã bị khoá
Awri Lynn 27 Thg03, 2023 @ 2:48pm
I think Kill Feed caused a crash
My game just froze, an exception log file was created and it shows this:

NullReferenceException: Object reference not set to an instance of an object
KillFeed.Mod.Lizard_Bite_HK (On.Lizard+orig_Bite orig, Lizard self, BodyChunk chunk) (at <c0f1d72a9c09455c806982cfe662eb4f>:0)
DMD<>?-1708983168.Hook<Lizard::Bite>?1714469888 (Lizard , BodyChunk ) (at <2cb90cf126f8491ea118103d148cd1a9>:0)
Lizard.AttemptBite (Creature creature) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
LizardAI.AggressiveBehavior (Tracker+CreatureRepresentation target, System.Single tongueChance) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
LizardAI.Update () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
Lizard.Act () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
Lizard.Update (System.Boolean eu) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
DMD<Update>?-1708983168._Room::Update (Room this) (at <03218a800e734118a964fca53c20a558>:0)
DMD<>?-1708983168.Trampoline<Room::Update>?-2019990528 (Room ) (at <fe390240dedc4a38b80813a18eba6814>:0)
NoWormGrass.NoWormGrassPlugin+<>c.<OnEnable>b__0_2 (On.Room+orig_Update orig, Room self) (at <a84ebd3fcfa645278f0a1729df2594f8>:0)
DMD<>?-1708983168.Hook<Room::Update>?1993311232 (Room ) (at <c6a4290a23eb47dab2504d1d232e6511>:0)
RainWorldGame.Update () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
MainLoopProcess.RawUpdate (System.Single dt) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
RainWorldGame.RawUpdate (System.Single dt) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
ProcessManager.Update (System.Single deltaTime) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
DMD<Update>?-1708983168._RainWorld::Update (RainWorld this) (at <cf15535f0e2a435ab02e796ce9b6a82e>:0)
DMD<>?-1708983168.Trampoline<RainWorld::Update>?2030758400 (RainWorld ) (at <0fb29cdd90fd41dba52337be51956b2b>:0)
HealthBars.HealthBars.UpdatePatch (On.RainWorld+orig_Update orig, RainWorld self) (at <f0f3820416764b08b4651b9222270bcd>:0)
DMD<>?-1708983168.Hook<RainWorld::Update>?1749092864 (RainWorld ) (at <35d6145df0d042309dc21569d2f65041>:0)
< >
Đang hiển thị 1-5 trong 5 bình luận
FranklyGD  [nhà phát triển] 27 Thg03, 2023 @ 7:29pm 
There is only one place in code that exactly would throw this error. But I would like to know if it is reproducible.

This error means that the lizard bite didn't really catch the body part even though usually the function being called always has the body part. This makes it seem the other creature was unloaded in the process of being bitten.

It might be hard to get this to happen actually as I thought about it...
Lần sửa cuối bởi FranklyGD; 27 Thg03, 2023 @ 8:19pm
Awri Lynn 27 Thg03, 2023 @ 11:30pm 
Another one, and I think this one is caused by dying creatures being taken by vultures, and dying/being dead in their "offscreen" dens.

NullReferenceException: Object reference not set to an instance of an object
PlayerSessionRecord.AddKill (Creature victim) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
SocialEventRecognizer.Killing (Creature killer, Creature victim) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
Creature.Die () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
DMD<IsEnteringDen>?2106200320._AbstractCreature::IsEnteringDen (AbstractCreature this, WorldCoordinate den) (at <ab3aec7044e64d4db71130c5ec80085e>:0)
DMD<>?2106200320.Trampoline<AbstractCreature::IsEnteringDen>?2108172288 (AbstractCreature , WorldCoordinate ) (at <6216d4fa629146c28c531dea1a8a108b>:0)
KillFeed.Mod.AbstractCreature_IsEnteringDen_HK (On.AbstractCreature+orig_IsEnteringDen orig, AbstractCreature self, WorldCoordinate den) (at <c0f1d72a9c09455c806982cfe662eb4f>:0)
DMD<>?2106200320.Hook<AbstractCreature::IsEnteringDen>?1102148608 (AbstractCreature , WorldCoordinate ) (at <5a8b25f063de46f1874d9881630c6fe3>:0)
AbstractRoom.MoveEntityToDen (AbstractWorldEntity ent) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
AbstractCreature.OpportunityToEnterDen (WorldCoordinate den) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
ShortcutHandler.Update () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
RainWorldGame.Update () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
MainLoopProcess.RawUpdate (System.Single dt) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
RainWorldGame.RawUpdate (System.Single dt) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
ProcessManager.Update (System.Single deltaTime) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
DMD<Update>?2106200320._RainWorld::Update (RainWorld this) (at <b39f5aa57f8d4e23a6edffd6f4f18c40>:0)
DMD<>?2106200320.Trampoline<RainWorld::Update>?1898190336 (RainWorld ) (at <f028f6601b4f4f4fb9c42a80859d241d>:0)
HealthBars.HealthBars.UpdatePatch (On.RainWorld+orig_Update orig, RainWorld self) (at <f0f3820416764b08b4651b9222270bcd>:0)
DMD<>?2106200320.Hook<RainWorld::Update>?-1751256576 (RainWorld ) (at <a7ee1a6504e843d489ab88b9dd8b0687>:0)

<RI> Failed to get input data:
The handle is invalid.
FranklyGD  [nhà phát triển] 29 Thg03, 2023 @ 11:25am 
That one isn't an issue with the mod. Looks like it ended up in the game itself. The mod in this error merely passes the value to the original methods.
https://pastebin.com/V0v99bpp So this is a game error and not what is causing a freeze?

Nguyên văn bởi FranklyGD:
That one isn't an issue with the mod. Looks like it ended up in the game itself. The mod in this error merely passes the value to the original methods.
FranklyGD  [nhà phát triển] 8 Thg07, 2023 @ 8:03pm 
Nguyên văn bởi Conquest and Death:
https://pastebin.com/V0v99bpp So this is a game error and not what is causing a freeze?

Nguyên văn bởi FranklyGD:
That one isn't an issue with the mod. Looks like it ended up in the game itself. The mod in this error merely passes the value to the original methods.

This is the is mod's fault. Similar issue to the other thread that had that lizard bite error: https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2953207504/3839927819752643784/
< >
Đang hiển thị 1-5 trong 5 bình luận
Mỗi trang: 1530 50