This object is in archive! 

Lightning Crash/Broken Feature [1.200.025]

Valikai shared this bug 2 years ago
Solved

As of 1.200.025 my game is experiencing a crash related to lightning firing. I also noticed admin menu "Create Lightning" either doesn't work or crashes the game.


Natural Lightning Crash:

Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.SessionComponents.MySectorWeatherComponent.CreateLightning(Vector3D position, MyObjectBuilder_WeatherLightning lightning, Boolean doDamage)

at Sandbox.Game.SessionComponents.MySectorWeatherComponent.CreateRandomLightning(MyObjectBuilder_WeatherEffect weatherEffect, MyObjectBuilder_WeatherLightning lightningBuilder, Boolean doHitGrid, Boolean doHitPlayer)

at Sandbox.Game.SessionComponents.MySectorWeatherComponent.UpdatePlanetDataServer()

at Sandbox.Game.SessionComponents.MySectorWeatherComponent.UpdateAfterSimulation()

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 SpaceEngineers.MyProgram.Main(String[] args)


Admin Menu Lightning Crash:

Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.SessionComponents.MySectorWeatherComponent.CreateLightning(Vector3D position, MyObjectBuilder_WeatherLightning lightning, Boolean doDamage)

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.CreateLightning(MyGuiControlButton obj)

at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)

at Sandbox.Graphics.GUI.MyGuiControlButton.HandleInput()

at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleControlsInput(Boolean receivedFocusInThisUpdate)

at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleInput(Boolean receivedFocusInThisUpdate)

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.HandleInput(Boolean receivedFocusInThisUpdate)

at Sandbox.Graphics.GUI.MyScreenManager.HandleInput()

at Sandbox.Graphics.GUI.MyDX9Gui.HandleInput()

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 SpaceEngineers.MyProgram.Main(String[] args)


Thanks for your help!

Best Answer
photo

Hello, Valikai,

thanks for letting us know.

The issue was successfully reproduced and put into our internal system.

Kind Regards

Keen Software House: QA Department

Replies (2)

photo
2

Hello, Valikai,

thanks for letting us know.

The issue was successfully reproduced and put into our internal system.

Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineers!

I´m happy to announce that this issue is fixed in v200.027 hotfix!

Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file