[0.7.1] DS crashed caused by Mechanical Power switch

Le- Tinois shared this bug 5 years ago
Submitted

Hi,


My DS just crashed due to wind mill power switch, here an extract from the log :


2019-02-22 10:41:06.716|Main Thread> Warning: Component Block:TransmissionWoodSwitchWithFrame {017984A930519814}/Mechanical Power Transmission redefines event start_mechanical_animation, that was already defined for component Block:TransmissionWoodSwitchWithFrame {017984A930519814}/Attachment Animation Component.2019-02-22 10:41:14.897|Main Thread> =============================== FATAL EXCEPTION ================================2019-02-22 10:41:14.897|Main Thread> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.   at Medieval.MechanicalPower.MyMechanicalSwitchComponent.StartMechanicalAnimations(Int64 deltaFrames)   at VRage.Components.MyUpdateScheduler.RunTimedUpdates()   at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)   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 VRage.Components.MyUpdateScheduler.RunFixedUpdates()   at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)   at Sandbox.Engine.Platform.MySandboxUpdate.<RunLoop>b__18_0()   at VRage.Utils.FixedLoop.Run(Action tickCallback)   at Sandbox.Engine.Platform.MySandboxUpdate.RunLoop()   at VRage.Dedicated.DedicatedServer`1.RunInternal()   at VRage.Dedicated.DedicatedServer`1.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)2019-02-22 10:41:14.898|Main Thread> =============================== FATAL EXCEPTION ================================2019-02-22 10:41:14.899|Main Thread> Log Closed


It happens when I place a switch block not linked to any other mechanical object, I build it to first stage, then I tried to activate the lever twice = server crashed.

A can reproduice each time ;)

Leave a Comment
 
Attach a file