雨世界

雨世界

Kill Feed
此主题已被锁定
MozarteanChaos 2023 年 6 月 2 日 上午 11:37
(temporary) freeze when biting as lizard in safari
The game seems to stop rendering new frames when holding down the grab button as a lizard. I've checked, and it only happens when I have this mod enabled.
Disabling all other workshop mods does not help with the issue. The game works normally once I stop attempting to bite. It doesn't matter whether or not something I can hurt is nearby.
It's not super consistent, but it seems to me like that's because it only happens after the bite is allowed to "wind up" fully - so biting as a pink or green lizard might not cause the freeze if you release the button before its mouth is completely open, but as a red lizard the freeze is instant because it bites instantly.
The following is the exception log from when I tested it without any workshop mods:

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 <e7078e0f57fa4b20b2e82e3a0b3ab0ba>:0)
DMD<>?815577216.Hook<Lizard::Bite>?1195599872 (Lizard , BodyChunk ) (at <c42227acf3d14fdf946e836e86f5a18b>:0)
Lizard.AttemptBite (Creature creature) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
LizardAI.Update () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
Lizard.Act () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
Lizard.Update (System.Boolean eu) (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)
Room.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)
RainWorld.Update () (at <1014ff9a5d9941ab9e645d4f5c9384a5>:0)

I have a hunch this might be related to the report of this mod causing crashes, although I'm not certain.
< >
正在显示第 1 - 1 条,共 1 条留言
FranklyGD  [开发者] 2023 年 6 月 5 日 上午 11:27 
I see, I'm having a look at it right now. It appears that it calls the bite function when there is nothing to bite, which causes this error. Which I guess confuses me a little because some normal lizard AI does this as well where it bites at the air but never has this problem.

I'm adding this fix as well as other missing additions in the next update.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50