[01.193.019] deleting text from GPS description crashes game.
This happened when client was connected to dedicated server, but likely also happens in single player.
1. Create GPS marker, with name and description.
2. Selection GPS marker, and click into the description box.
3. Mash delete/backspace to delete the first section of the description.
4. Game crashes with IndexOutOfRange , presumably from trying to delete -1
2019-10-28 17:21:03.443 - Thread: 1 -> Exception occured: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Text.StringBuilder.get_Chars(Int32 index)
at Sandbox.Graphics.GUI.MyGuiControlMultilineEditableText.GetCarriagePositionFromMouseCursor()
at Sandbox.Graphics.GUI.MyGuiControlMultilineText.HandleInput()
at Sandbox.Graphics.GUI.MyGuiControlMultilineEditableText.HandleInput()
at Sandbox.Graphics.GUI.MyGuiControlParent.HandleInput()
at Sandbox.Graphics.GUI.MyGuiControlParent.HandleInput()
at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleControlsInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleInput(Boolean receivedFocusInThisUpdate)
at Sandbox.Game.Gui.MyGuiScreenTerminal.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)
Fixed in hotfix 193.020.
Fixed in hotfix 193.020.
Replies have been locked on this page!