EBro912 / SpectateEnemies

Allows you to spectate enemies in Lethal Company
MIT License
5 stars 2 forks source link

[Bug] Dead bracken causes NullRef #6

Closed OoLunar closed 10 months ago

OoLunar commented 10 months ago

Once a player manages to successfully kill a bracken, dead players can no longer spectate enemies. When the dead players attempt to spectate anyways, the camera will instead freeze in place while the console is spammed with NullReferenceExceptions. It is assumed that the last spectated (or randomly chosen) enemy must be the dead bracken for this bug to occur. Unfortunately I was unable to grab the stack trace, however it was only a single line.

Thank you for making the mod!

skylarkblue1 commented 10 months ago

It seems to be any dead enemy, dead centipede also causes it. Attaching a couple screenshots from my console that was being spammed to hell and back. Lethal_Company_UXHxxGa68o Lethal_Company_8iRAadNomS

EBro912 commented 10 months ago

The first image is a vanilla error, but the second one is definitely a bug. Thanks for reporting, I'll look into that for next update

skylarkblue1 commented 10 months ago

The first image is a vanilla error, but the second one is definitely a bug. Thanks for reporting, I'll look into that for next update

Might be part of it? It was spamming that only when the bug triggered

EBro912 commented 10 months ago

This should be fixed as of the latest release, closing for now