Space Engineers

Space Engineers

Battery Degradation Mechanics
Into 4 May, 2023 @ 3:28am
Causing Server Crash
Hi, it's causing my server to crash. Not wanting to say the mod is faulty, as I am fairly new to this topic of managing a server. But maybe you can help here.

2023-05-04 12:22:36.063 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object. at Battery_Degradation_Mechanics.BatteryDegradationMechanics.DoAdditionalDischarge() at Battery_Degradation_Mechanics.BatteryDegradationMechanics.UpdateBeforeSimulation100() at VRage.Game.Components.MyGameLogicComponent.VRage.Game.Entity.EntityComponents.Interfaces.IMyGameLogicComponent.UpdateBeforeSimulation100(Boolean entityUpdate) at Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateBeforeSimulation100() at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateBeforeSimulation100() at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchBeforeSimulation() at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation() at Sandbox.Game.World.MySector.UpdateBeforeSimulation() at Sandbox.Game.World.MySession.UpdateComponents() at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime) at Sandbox.MySandboxGame.Update() at Sandbox.Engine.Platform.Game.UpdateInternal() at Sandbox.Engine.Platform.Game.RunSingleFrame() at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0() at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at VRage.Dedicated.DedicatedServer.RunInternal(String instanceName) at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole, Boolean checkAlive) at VRage.Dedicated.DedicatedServer.ProcessArgs(String[] args) at VRage.Dedicated.DedicatedServer.Run(String[] args, Action`1 initializeServices)