Space Engineers

Space Engineers

Helmet - 3D HUD and reflective glass
Squidtank 15 Dec, 2015 @ 2:49pm
Crash occuring when killed by Sabroids (Spider) while wearing helmet
First off, I love this mod, I never leave home without it, should be part of the base game!

After one of the recent patches, I noticed that the client crashed when you are killed by a Sabiroid if you are using this mod and have the helmet on. I was able to reproduce the crash 100% of the time in multiple attempts in DX11 (as required by planets) using only the helmet mod and default configuration for the helmet. Crash did not occur if the mod wasn't in use with the helmet on and also does not occur if you are using the mod and have your helmet off.

From the logs (doesn't mention the helmet specifically):

2015-12-15 17:36:46.678 - Thread: 1 -> Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlock(MySlimBlock block, Int64 attackerId)
at Sandbox.Game.Entities.Cube.MySlimBlock.ApplyAccumulatedDamage(Boolean addDirtyParts, Int64 attackerId)
at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamageInternal(Single damage, MyStringHash damageType, Boolean addDirtyParts, Nullable`1 hitInfo, Boolean createDecal, Int64 attackerId)
at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Boolean addDirtyParts, Nullable`1 hitInfo, Boolean createDecal, Int64 attackerId)
at SpaceEngineers.Game.AI.MySpiderTarget.Update()
at SpaceEngineers.Game.AI.MySpiderLogic.Update()
at Sandbox.Game.AI.MyAgentBot.UpdateInternal()
at Sandbox.Game.AI.MyBotCollection.Update()
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.FixedLoop.<>c__DisplayClass2.<Run>b__1()
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.RunInternal(String[] args)
at SpaceEngineers.MyProgram.Main(String[] args)
2015-12-15 17:36:46.680 - Thread: 1 -> Hiding window
2015-12-15 17:36:46.688 - Thread: 1 -> Network readers disposed
2015-12-15 17:36:47.517 - Thread: 1 -> Hiding window done
2015-12-15 17:36:47.517 - Thread: 1 -> Showing message
2015-12-15 17:36:47.759 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
2015-12-15 17:36:47.760 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
2015-12-15 17:36:47.760 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
< >
Showing 1-2 of 2 comments
Digi  [developer] 15 Dec, 2015 @ 3:37pm 
It looks like the spiders are trying to damage the helmet HUD blocks or something... this needs to be fixed internally to ignore non-physical blocks.
Digi  [developer] 15 Dec, 2015 @ 4:24pm 
Well I found a way around it that uses more memory per HUD element :/ by allowing it to create physics for the blocks and then disabling them, it'll do until they fix that.

Mod updated.

Let me know if you find and new weird issues because of this change... like being able to push things with your view or turrets targeting your HUD, etc.

EDIT:
I'll have to undo this temporary fix because of another issue that is bound to happen more often: http://gtm.steamproxy.vip/workshop/filedetails/discussion/428842256/494632506573063230/
Last edited by Digi; 16 Dec, 2015 @ 8:21pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50