This object is in archive! 

Random game crashes

Conarr Bowdyn shared this bug 4 years ago
Solved

I got the following error from the SE log. My crash issues started after the last patch, not sure if that is the problem or not, but anecdotally, that's when I started having the issues. This last time, I was welding from a projected blueprint, but before that, I was doing various other random things (flying around the base, entering or leaving the cockpit of my miner, etc). I can't more closely define the circumstances beyond that. What other information do you need?


System information:

Processor: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz (12 CPUs), ~3.3GHz

Memory: 32768MB RAM

Available OS Memory: 32662MB RAM

Page File: 7782MB used, 29743MB available

DirectX Version: DirectX 12

Card name: NVIDIA GeForce GTX TITAN X

Driver File Version: 26.21.0014.4575 (English)


Exception from Log:

2020-03-24 12:00:21.362 - Thread: 1 -> App Version: 01_194_080

....

2020-03-24 12:57:17.085 - Thread: 1 -> Build Info error/exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

at VRage.Game.MySimpleObjectDraw.DrawWireFramedBox(MatrixD& worldMatrix, BoundingBoxD& localbox, Color& color, Single fThickRatio, Vector3I wireDivideRatio, Nullable`1 lineMaterial, Boolean onlyFrontFaces, Int32 customViewProjection, BlendTypeEnum blendType, Single intensity, List`1 persistentBillboards)

at VRage.Game.MySimpleObjectDraw.DrawTransparentBox(MatrixD& worldMatrix, BoundingBoxD& localbox, Color& color, Color& frontFaceColor, MySimpleObjectRasterizer rasterization, Vector3I wireDivideRatio, Single lineWidth, Nullable`1 faceMaterial, Nullable`1 lineMaterial, Boolean onlyFrontFaces, Int32 customViewProjection, BlendTypeEnum blendType, Single intensity, List`1 persistentBillboards)

at Sandbox.Game.Entities.MyCubeBuilder.DrawSemiTransparentBox(Vector3I minPosition, Vector3I maxPosition, MyCubeGrid grid, Color color, Boolean onlyWireframe, Nullable`1 lineMaterial, Nullable`1 lineColor)

at Digi.BuildInfo.Features.BlockInfoAdditions.DrawProjectedSelection()

at Digi.BuildInfo.Features.BlockInfoAdditions.UpdateDraw()

at Digi.ComponentLib.ComponentBase`1.Digi.ComponentLib.IComponent.UpdateDraw()

at Digi.ComponentLib.ModBase`1.Digi.ComponentLib.IModBase.UpdateDraw()

2020-03-24 12:57:17.759 - Thread: 1 -> Exception occured: ParallelTasks.TaskException: An exception(s) was thrown while executing a task.

at ParallelTasks.WorkItem.ThrowExceptionsInternal(Int32 runId)

at ParallelTasks.Task.WaitOrExecute(Boolean blocking)

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

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

at Sandbox.Graphics.GUI.MyGuiSandbox.Draw()

at Sandbox.MySandboxGame.PrepareForDraw()

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)

Task exception, inner exception 0:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

at VRage.Game.MySimpleObjectDraw.DrawWireFramedBox(MatrixD& worldMatrix, BoundingBoxD& localbox, Color& color, Single fThickRatio, Vector3I wireDivideRatio, Nullable`1 lineMaterial, Boolean onlyFrontFaces, Int32 customViewProjection, BlendTypeEnum blendType, Single intensity, List`1 persistentBillboards)

at VRage.Game.MySimpleObjectDraw.DrawTransparentBox(MatrixD& worldMatrix, BoundingBoxD& localbox, Color& color, Color& frontFaceColor, MySimpleObjectRasterizer rasterization, Vector3I wireDivideRatio, Single lineWidth, Nullable`1 faceMaterial, Nullable`1 lineMaterial, Boolean onlyFrontFaces, Int32 customViewProjection, BlendTypeEnum blendType, Single intensity, List`1 persistentBillboards)

at Sandbox.Game.Components.MyRenderComponentEngineerTool.DrawHighlight()

at Sandbox.Game.Components.MyRenderComponentEngineerTool.Draw()

at Sandbox.Game.Entities.MyEntities.Draw()

at Sandbox.Game.World.MySession.DrawAsync()

at Sandbox.Game.Gui.MyGuiScreenGamePlay.<>c.<LoadData>b__37_0()

at ParallelTasks.DelegateWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)


2020-03-24 12:57:17.760 - Thread: 1 -> Showing message

2020-03-24 12:57:20.809 - Thread: 1 -> Log Closed

Replies (2)

photo
1

Please update your game and test it once again. Thank you!

photo
1

I haven't experienced any crashes in the last couple hours. How much more would you like me to testing should I do before we close this bug report?

photo
1

I think we're good to go. The game didn't crash after several hours of play yesterday How do we close this bug report

photo
1

Thank you for cooperation! :)

Replies have been locked on this page!