View Issue Details

IDProjectCategoryView StatusLast Update
0000042Medieval EngineersBugpublic2022-06-25 11:05
Reportershad Assigned Toequinox  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version0.7.3.968CF8Fixed in Version0.7.3.968CF8 
Summary0000042: Exception occurred: System.OverflowException: TimeSpan overflowed because the duration is too long.

This was reported on Keen's support page.


I'm getting a crash whenever I get close to a castle I've built, so I can't get anywhere close around it. In the log I get a fatal exception: "TimeSpan overflowed because the duration is too long."

I don't really know what this means and how to fix this. I use many mods (mainly decorating mods) but until today I had no trouble with them. Is it one of the mods I use?

I guess the exception refers to a crafting component, that for some reason has a too long crafting time?
Could be a mod causing it, as vanilla crafting never lasts longer than a couple of seconds.

2020-04-07 07:19:19.430|Main Thread>Session> Warning: Component MyCraftingBatcher schedules a non-annotated method ProcessBatch for update.All update and callback methods in a component must be annotated with either Update or FixedUpdate to allow for automatic clean up.
=============================== FATAL EXCEPTION ================================
Exception occurred: System.OverflowException: TimeSpan overflowed because the duration is too long.
at System.TimeSpan.Subtract(TimeSpan ts)
at Medieval.Entities.Components.Crafting.MyCraftingComponent.SimulatePassageOfTime(TimeSpan startTime, TimeSpan endTime)
at Medieval.Entities.Components.Crafting.MyCraftingBatcher.ProcessBatch(Int64 deltaFrames)
at VRage.Components.MyUpdateScheduler.RunTimedUpdates()
at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)
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.Game.RunSingleFrame()
at VRage.Components.MyUpdateScheduler.RunFixedUpdates()
at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)
at Sandbox.Engine.Platform.MySandboxUpdate.<RunLoop>b__18_0()
at VRage.Utils.FixedLoop.Run(Action tickCallback)
at Sandbox.Engine.Platform.MySandboxUpdate.RunLoop()
at Medieval.MyProgram.Main(String[] args)
TagsNo tags attached.


has duplicate 0000354 closedequinox Cannot access the area of my construction  



2020-09-25 01:03

reporter   #~0000016

Link to the support page:


2020-09-25 01:15

reporter   #~0000017

MedievalEngineers-1.log (210,296 bytes)


2020-09-25 05:52

reporter   #~0000019

I know and investigated this bug months ago. The cause is a mechanical crafting block in the brewing mod.
I think it can happen with mechanical crafting blocks that require no power to work (only thing that is different in that mod over regular crafting blocks)

Issue History

Date Modified Username Field Change
2020-09-25 01:02 shad New Issue
2020-09-25 01:03 shad Note Added: 0000016
2020-09-25 01:15 shad Note Added: 0000017
2020-09-25 01:15 shad File Added: MedievalEngineers-1.log
2020-09-25 05:52 peaceman Note Added: 0000019
2020-09-26 15:44 equinox Description Updated
2020-10-24 22:30 equinox Target Version => 0.7.4 (unreleased)
2022-04-28 11:46 equinox Target Version 0.7.4 (unreleased) =>
2022-04-28 11:46 equinox Assigned To => equinox
2022-04-28 11:46 equinox Status new => assigned
2022-04-28 11:54 equinox Status assigned => in progress
2022-05-01 18:28 equinox Status in progress => resolved
2022-05-01 18:28 equinox Resolution open => fixed
2022-05-01 18:28 equinox Fixed in Version =>
2022-06-25 11:05 equinox Relationship added has duplicate 0000354