Looping npc drone printer causes crash, but only when previous drone iterations are in combat

Riaz Arzem shared this bug 5 months ago
Need More Information

Basically I'm having the same problem as here. I was making a hostile npc looping drone printer so I could set up a wave defence scenario. While the factory prints its first drone with no issue which goes and attacks the player base, the game often crashes after the 2nd, 3rd, or 4th waves, but only while the previous drones are in battle. Left alone with no enemies, the printer can print 100s without issue, and if the factories are turned off, I can battle with the 100 without crashing (albiet with some expected frame rate loss). But printing even just a second fighter while the first is fighting can cause a crash. Is there any kind workaround for this?

Replies (2)

photo
1

I removed the Offensive AI Block from the printed drones, and the factories can now loop-print combat runs for hours without triggering any nullReference crashes. The drones are currently running with only Flight / Task / Defensive blocks which aren't giving any issues.

photo
2

Hello, Riaz!

Thank you for writing to us.

We have received this another report from a player experiencing the same exception error as seen in your log file. While this thread is already marked as 'Reported,' the circumstances of the crash differ between your case and the reported one.

To further investigate this issue, could you kindly share with us the world save file where you have factory printing drones with an AI Offensive block and are experiencing crashes when the other drone is in combat? Additionally, please provide the steps to reproduce this issue in your world, a screen recording/video showing the issue, and the latest log file.

  • You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Saves. There should be a folder with your SteamID and your saves.
  • Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.

Kind Regards,

Keen Software House: QA Department

photo
1

I've attached a world save with the drone printers, a video of recreating the crash, and the error log from the crash in the video.


I went slightly overboard copy pasting the printers, but that was because I was trying to accelerate forcing the crash. The same crash sometimes happens even just running a single printer. Sometimes it happens quickly, sometimes it takes 10-15 minutes.

Oddly, I also have a small-grid torpedo-printer which mass produces and launches dozens of offensive AI missiles, but even running multiple copies of it doesn't cause the crash the way these printers do.

Edit: Hyperlink: https://drive.google.com/file/d/1v3qBDMs1yHyobQ-RmvvjsS7EQOWXvXMU/view?usp=drive_link

photo
Leave a Comment
 
Attach a file