[2.0.5] The target of a `WorkerRobotOrder` can be nil

This subforum contains all the issues which we already resolved.
User avatar
Quezler
Fast Inserter
Fast Inserter
Posts: 235
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[2.0.5] The target of a `WorkerRobotOrder` can be nil

Post by Quezler »

The documentation currently lists the target without a ?

It is possible to get a deconstruction order from the api where the target is missing,
on the test world add the remaining 49 normal robots to the roboport, and then try to deconstruct as many trees as you can in the roboport area.

it might not crash first try, 2-3 save reloads might be necessary, but eventually you'll run into it.
Attachments
platform-construction-only-no-construction-robots_0.0.1.zip
(2.11 KiB) Downloaded 20 times
instant construction test world.zip
(2.23 MiB) Downloaded 22 times
factorio-current.log
(4.59 MiB) Downloaded 15 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4051
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.5] The target of a `WorkerRobotOrder` can be nil

Post by boskid »

Thanks for the report. I am going to mark this field as optional for 2.0.6. I am not sure when exactly are worker robot orders purged from the order queue after entities were invalidated and i am not willing to rework that right now.
Post Reply

Return to “Resolved Problems and Bugs”