Space Engineers

Space Engineers

Nanite Control Factory - Automated Construction (Not working - Old Version)
ArcWolf 12 May, 2017 @ 2:37pm
Nanites Refuse to deconstruct derelict - NaniteConstructionSystem.log has error
I found and claimed a derelict, I have set all the blocks in the ship terminal to owner me but when I attempted to use the deconstruction beacon nothing happens. The factory has power and deconstructs other things I own. This I have tested on multiple occasions.

The error in the log is
[16:20:49] STATUS Nanite Factory: 134920816318419653 - (t: 0 pt: 0 pw: 0 st: Disabled) - (ConstructionNanites - 0) (DeconstructionNanites - 0) (ProjectionNanites - 0) (CleanupNanites - 0) (MiningNanites - 0) (MedicalNanites - 0) (SpeedNanites - 0) (PowerNanites - 0) [16:20:49] REBUILD Inventory: 110.1369ms [16:20:49] Parallel Erorr: System.InvalidCastException: Unable to cast object of type 'Sandbox.Game.Entities.MyCubeGrid' to type 'Sandbox.Game.Entities.MyCubeBlock'. at NaniteConstructionSystem.Entities.Targets.NaniteDeconstructionTargets.AddConnectedGridBlock(NaniteDeconstructionGrid deconstruct, IMySlimBlock slimBlock) at NaniteConstructionSystem.Entities.Targets.NaniteDeconstructionTargets.CreateRemovalOrder(NaniteDeconstructionGrid deconstruct, IMySlimBlock startBlock) at NaniteConstructionSystem.Entities.Targets.NaniteDeconstructionTargets.CreateGridStack(NaniteDeconstructionGrid deconstruct, MyCubeGrid grid, MyCubeBlock beacon) at NaniteConstructionSystem.Entities.Targets.NaniteDeconstructionTargets.ParallelUpdate(List`1 gridList, List`1 gridBlocks)

This error is repeated for as long as the beacon is attached to the derelict grid.

Save available if you need it. Derelict attempting to deconstruct is the Medium Exploration Ship "Christine". The only differences I can see between my constructed blocks that have no problem being deconstructed and this ships blocks is that there is no "built by" in the block info when you mouse over a block with a wielding torch. My blocks say Built by Arcwolf while the derelict has no info at all. Most likely because it is generated by the game.

Strangely I have used the nanites to deconstruct a captured Argentavis a few weeks ago without an issue. Although I had to grind/hack all the systems rather then use the Terminal to set it to me because it was a generated ship for the SPRT faction. Also that deconstruction was with the other version of nanite control factory created by Visentinel.

Only other thing I can think to mention is that just as a extra test I unsubed this mod and deleted all record of it from the mod directory then resubscribed just this morning and retested but it had no effect on this issue I'm having. The error above is from a test just a while ago.

Thanks for your help.
< >
Showing 1-3 of 3 comments
ArcWolf 12 May, 2017 @ 5:41pm 
I've now tested this with some small grid derelicts and the nanites deconstruct them fine. Specifically the GLU Jaguar B-1, light Interceptor and (DL. Inc) Grinder Drone Mk I, plus some other one I cant remember the name now they ate it too quick didnt catch its name some kind of little drill ship. Almost expected hear a burp... So anyway I'm not sure whats up with the Large grid Christine derelict... :-/

And now I'm successfully deconstructing Large grid derelict station called Civil Station. Kind of strange it wants to throw an exception for that ship. I'll have to see if I can find another large grid ship to test on. Maybe its just something with Christine. It seems to have rotors and pistons duno if that would make a difference or not...
Last edited by ArcWolf; 12 May, 2017 @ 5:56pm
tyrsis  [developer] 12 May, 2017 @ 9:07pm 
Your log was enough to find the issue. I will upload an update soon. Please tell me if it fixes the issue. (rotors/piston classes were changed)
ArcWolf 12 May, 2017 @ 9:59pm 
So thats why it started working all the sudden... excellent! I was just going to comment that it started working for some reason lol

Thanks for the fix, now my chop shop can get back to business :D
< >
Showing 1-3 of 3 comments
Per page: 1530 50