Jump to content

NullReferenceException in ElectricWireController


Serellyn

Recommended Posts

I'm currently playing online and in my horde base i've got a few electric fences. If I walk through one of the active electric wires from the fences I get a nullreferenceException. And, if you get a NullReferenceException the console pops open. So guess what? You've got a game breaking bug because you're stuck in the electric fence, being electrocuted, and if you close the console it opens again because the exception happens when you're electrocuted.

Here's the error from the log file:

Quote

NullReferenceException: Object reference not set to an instance of an object
  at ElectricWireController.DamageSelf (System.Single damage) [0x000dc] in <d7c95f421d354b5e851d6f3126817769>:0 
  at ElectricWireController.touched (UnityEngine.Collider collider) [0x0019f] in <d7c95f421d354b5e851d6f3126817769>:0 
  at ElectricWireController.Update () [0x000b4] in <d7c95f421d354b5e851d6f3126817769>:0 

 

Same error seems to happen while zombies in horde night walk through the fences, no idea how that error gets triggered at those points though. If I know more, I'll update this thread. But currently, this kind of breaks my game. Only thing I can do is remove my defences...

output_log__2020-09-19__17-51-10.txt

Link to comment
Share on other sites

Small update, when a buddy of mine comes close and I get the exception, he gets it as well and we're both stuck with the console popping up.

Also, another important thing, it's only with a few of them. I've replaced one electric fence that gave the exception, and now it doesn't give the exception anymore.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...