Space Engineers

Space Engineers

Nanite Control Factory - Automated Construction (Not working - Old Version)
Random Crashes
So i have a few Nanite Factorys on my capital ship and for some reason my game randomly crashes(it really is random, like im just placing blocks here and there and suddenly it crashes)
and the reason why i am posting this here is because at the near the end of the crash log i see something that has to do with he nanite factory(i dont know how to read a crash log i just saw that soemthing with the nanite factory was at the end and then it crashed)
Here is the end of the log:

2016-04-10 00:53:49.670 - Thread: 1 -> Exception occured: 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 NaniteConstructionSystem.Entities.NaniteConstructionBlock.ProcessRequiredComponents()
at NaniteConstructionSystem.Entities.NaniteConstructionBlock.<ScanForTargets>b__4()
at Sandbox.MySandboxGame.ProcessInvoke()
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<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.RunInternal(String[] args)
at SpaceEngineers.MyProgram.Main(String[] args)
2016-04-10 00:53:49.672 - Thread: 1 -> Hiding window
2016-04-10 00:53:49.679 - Thread: 1 -> Network readers disposed
2016-04-10 00:53:50.839 - Thread: 1 -> Hiding window done
2016-04-10 00:53:50.839 - Thread: 1 -> Showing message
2016-04-10 00:53:50.845 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
2016-04-10 00:53:50.845 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
2016-04-10 00:53:50.845 - Thread: 1 -> ERROR: branch name cannot be resolved, services=


< >
Showing 1-15 of 17 comments
tyrsis  [developer] 9 Apr, 2016 @ 4:46pm 
Thanks for the report, I'll fix this ASAP.
Goldobsidian 9 Apr, 2016 @ 5:37pm 
Here is my log if it helps. http://pastebin.com/4WEMxbk6
tyrsis  [developer] 9 Apr, 2016 @ 6:03pm 
Uploading new version. Try again in a minute.
Pudelstrudel 9 Apr, 2016 @ 6:45pm 
ok i'll test it
if it doesnt crash over the course of one hour it should be fixed vuz most times it happened like 5-40minutes after i loaded the world
Goldobsidian 9 Apr, 2016 @ 7:07pm 
The factory isnt locatable in the G menu any more, I typed in "nan" and nothing showed up. I started a new world to test it fearing something like this might happen. I loaded up a copy of my old world, its just gone, no collision box, no floating objects, no record or access of it in terminal view.
Pudelstrudel 9 Apr, 2016 @ 7:33pm 
ok it isnt fixed i crashed again

log:

2016-04-10 04:30:22.315 - Thread: 1 -> Saving world - END
2016-04-10 04:30:22.318 - Thread: 6 -> Session snapshot save - START
2016-04-10 04:30:22.319 - Thread: 6 -> Checking file access for files in target dir.
2016-04-10 04:30:22.330 - Thread: 1 -> GC Memory: 1,476,524,976 B
2016-04-10 04:30:23.361 - Thread: 6 -> Session snapshot save - END
2016-04-10 04:30:52.341 - Thread: 1 -> GC Memory: 1,433,354,560 B
2016-04-10 04:31:07.994 - Thread: 1 -> Exception occured: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.CopyTo(T[] array, Int32 arrayIndex)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NaniteConstructionSystem.Entities.NaniteConstructionBlock.ProcessRequiredComponents()
at NaniteConstructionSystem.Entities.NaniteConstructionBlock.<ScanForTargets>b__4()
at Sandbox.MySandboxGame.ProcessInvoke()
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<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.RunInternal(String[] args)
at SpaceEngineers.MyProgram.Main(String[] args)
2016-04-10 04:31:07.996 - Thread: 1 -> Hiding window
2016-04-10 04:31:08.003 - Thread: 1 -> Network readers disposed
2016-04-10 04:31:08.236 - Thread: 1 -> Hiding window done
2016-04-10 04:31:08.236 - Thread: 1 -> Showing message
2016-04-10 04:31:08.245 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
2016-04-10 04:31:08.245 - Thread: 1 -> ERROR: branch name cannot be resolved, services=
2016-04-10 04:31:08.245 - Thread: 1 -> ERROR: branch name cannot be resolved, services=

also im sorry for bothering you with this i hope you dont mind too much >.<
tyrsis  [developer] 9 Apr, 2016 @ 8:59pm 
No please continue with crash logs if they keep happening. This one is being annoying, lol.
Barrio505 9 Apr, 2016 @ 9:57pm 
Getting the same readout in my log after crash, happened when placing this block in creative mode.
tyrsis  [developer] 9 Apr, 2016 @ 10:11pm 
Try again? I uploaded a new version that should have fixed it. If you get the same error, or something similar, please post it. Something is going sour right now with it, but it should be fixed.
Last edited by tyrsis; 9 Apr, 2016 @ 10:12pm
Goldobsidian 10 Apr, 2016 @ 2:21am 
Tested, im Green to Go, no issues so far. Thank you for your hard and quick work.
Pudelstrudel 10 Apr, 2016 @ 4:17pm 
me 2
had no crashes during 4 hours of playing
thanks for fixing the issue :D
ra2leader 11 Apr, 2016 @ 11:21pm 
Still Crashing

Log:
2016-04-12 01:19:46.780 - Thread: 1 -> Exception occured: 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.Entity.MyEntity.RaisePhysicsChanged()
at VRage.Game.Entity.MyEntity.Delete()
at Sandbox.Game.Entities.MyEntities.DeleteRememberedEntities()
at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()
at Sandbox.Game.World.MySector.UpdateAfterSimulation()
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 Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<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.RunInternal(String[] args)
at SpaceEngineers.MyProgram.Main(String[] args)
Pudelstrudel 12 Apr, 2016 @ 5:04am 
doesnt look like it has something to do with the nanite factory tho
tyrsis  [developer] 12 Apr, 2016 @ 5:46am 
That one isn't the nanite factory.
ra2leader 12 Apr, 2016 @ 4:19pm 
I didn't have any random crashes until I installed Nanite Factory, so I figured most recent was the issue. Thank you
< >
Showing 1-15 of 17 comments
Per page: 1530 50