Space Engineers

Space Engineers

Helmet - 3D HUD and reflective glass
Squidtank 2015 年 12 月 15 日 下午 2:49
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=
< >
正在显示第 1 - 2 条,共 2 条留言
Digi  [开发者] 2015 年 12 月 15 日 下午 3:37 
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  [开发者] 2015 年 12 月 15 日 下午 4:24 
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://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/428842256/494632506573063230/
最后由 Digi 编辑于; 2015 年 12 月 16 日 下午 8:21
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50