Unmatched [/color] tag causes client crash.
Reported
A programmable block script may echo the following which causes a crash.
Echo("[/color][color=#ffaabbcc]");it seems that generally any closing color tag which is followed at some point by a starting color tag (which may or may not itself be matched with a closing tag), causes an immediate crash to desktop for any clients attempting to view a programmable block which is echoing the given in the terminal. The server itself does not appear to crash, here's the stack trace: 2026-08-08 04:51:21.326 - Thread: 1 -> var exception = System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.Substring(Int32 startIndex, Int32 length) at System.Text.StringBuilderExtensions.RemoveColorInfoFromString(String originalString) at System.Text.StringBuilderExtensions.AutowrapWithoutColorInfo(StringBuilder sb, Single width, String font, Single textScale) at Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock.UpdateDetailedInfo() at Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock.UpdateBlockControls() at Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock.Update() at Sandbox.Graphics.GUI.MyGuiControlParent.Update() at Sandbox.Graphics.GUI.MyGuiControlParent.Update() at Sandbox.Graphics.GUI.MyGuiScreenBase.UpdateControls() at Sandbox.Graphics.GUI.MyGuiScreenBase.Update(Boolean hasFocus) at Sandbox.Game.Gui.MyGuiScreenTerminal.Update(Boolean hasFocus) at Sandbox.Graphics.GUI.MyScreenManager.Update(Int32 totalTimeInMS) at Sandbox.Graphics.GUI.MyDX9Gui.Update(Int32 totalTimeInMS) at Sandbox.Graphics.GUI.MyGuiSandbox.Update(Int32 totalTimeInMS) 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)The entire log file is attached.
Files:
SpaceEngineers_...
You can't vote. Please authorize!
I have the same bug
Hello Engineer,
Thank you for your report.
We were able to reproduce the issue and have reported it to our internal system for further investigation.
Kind regards,
Keen Software House QA Department
Hello Engineer,
Thank you for your report.
We were able to reproduce the issue and have reported it to our internal system for further investigation.
Kind regards,
Keen Software House QA Department
Replies have been locked on this page!