Rain World
Kill Feed
Este tema ha sido cerrado
Awri Lynn 27 MAR 2023 a las 14:48
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)
< >
Mostrando 1-5 de 5 comentarios
FranklyGD  [desarrollador] 27 MAR 2023 a las 19:29 
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...
Última edición por FranklyGD; 27 MAR 2023 a las 20:19
Awri Lynn 27 MAR 2023 a las 23:30 
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  [desarrollador] 29 MAR 2023 a las 11:25 
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.
Conquest and Death 2 JUL 2023 a las 20:11 
https://pastebin.com/V0v99bpp So this is a game error and not what is causing a freeze?

Publicado originalmente por 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  [desarrollador] 8 JUL 2023 a las 20:03 
Publicado originalmente por Conquest and Death:
https://pastebin.com/V0v99bpp So this is a game error and not what is causing a freeze?

Publicado originalmente por 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/
< >
Mostrando 1-5 de 5 comentarios
Por página: 1530 50