EvaisaDev / LethalThings

Lethal company mod adding stuff
MIT License
21 stars 2 forks source link

NullReferenceException #57

Open Test-Account666 opened 7 months ago

Test-Account666 commented 7 months ago

Hey!

At every start, LethalThings prints this exception:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
LethalThings.Patches.PowerOutletStun.GameNetworkManager_Start (On.GameNetworkManager+orig_Start orig, GameNetworkManager self) (at O:/github/LethalThings/LethalThings/Patches/PowerOutletStun.cs:30)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<GameNetworkManager::Start>?-1396754696(GameNetworkManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<GameNetworkManager::Start>?-264956744(GameNetworkManager)
LethalThings.MonoBehaviours.GremlinEnergy.GameNetworkManager_Start (On.GameNetworkManager+orig_Start orig, GameNetworkManager self) (at O:/github/LethalThings/LethalThings/MonoBehaviours/GremlinEnergy.cs:28)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<GameNetworkManager::Start>?-960061056(GameNetworkManager)

It doesn't seem to cause any issues, but I think you should still address it