View Issue Details

IDProjectCategoryLast Update
0025422AI War 2Bug - GameplayAug 4, 2021 5:17 pm
ReporterGreatYng Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version3.311 Engineer Multitasking 
Fixed in VersionBeta 3.503 Multiplayer Sound 
Summary0025422: Drone construction is permanently halted
DescriptionUnits that build drones no longer construct them. I checked the Marauder Outpost, the Combat Factory, the Rejuvenator Factory, and the Dyson Sphere Warp Gate.
I wouldn't be surprised if it extends to all similar units.
TagsNo tags attached.

Relationships

related to 0025461 resolvedChris_McElligottPark Queen Bee Golem (and possibly deratives) will not construct drones automatically by default 

Activities

GreatYng

Jul 16, 2021 1:05 pm

reporter  

Marauder Drones.save (407,361 bytes)

Daniexpert

Jul 16, 2021 10:09 pm

manager   ~0062474

I just checked the save and the two combat factiories were building drones with no issues. Do you see the same happening when loading this particular save? If the problem persists, could you share another save?

GreatYng

Jul 17, 2021 9:13 am

reporter   ~0062482

I think the other save you were referring to didn't upload.

It turns out the 3.312 hotfix was out of beta for long enough for me to make a few saves in it yesterday.
Fortunately, changing versions is easy enough so after downloading the latest beta patch I decided to see if the error still exists. Yes.

I also noticed that of the latest two autosaves I have (which is before the manual save I uploaded) this bug is only present in the latest one (the bug isn't present in the 24 minute save or earlier saves, but it is present in the 30 minute save).
Autosave at 24m 0s.save (395,523 bytes)
Autosave at 30m 0s.save (417,207 bytes)

Daniexpert

Jul 17, 2021 9:46 am

manager   ~0062483

I just tried the 24m save, the factories were building drones. I ordered them to move to the next planet and unload, and when the drones started to drop in numbers, the factories wouldn't replinish them.
Trying again on the same save and on a test game I made, changing speed of the game seems to make appear "faster" the issue, but it could be totally unrelated.
The metal flows debug in the tooltip shows the same amount of flows before and after it stops, but the metal flow window shows no consuptions.
I'm on 3.313

Daniexpert

Jul 17, 2021 9:51 am

manager   ~0062484

I guess the factories know that they need to build drones, but they stop doing that for some reason.
2021-07-17 15_48_56-AIWar2.png (124,769 bytes)   
2021-07-17 15_48_56-AIWar2.png (124,769 bytes)   

Daniexpert

Jul 17, 2021 10:10 am

manager   ~0062485

Another thing I noticed in this save is that the costruction of drones always stops when the factory finishes building its combat engineers and sentry frigates. Just let the save run for 15-20 seconds and you'll see this happen.
test1.save (178,621 bytes)

Daniexpert

Jul 17, 2021 6:39 pm

manager   ~0062494

Right now, after playing a spire game (no mods) for 3 hours in a row, I haven't encountered this bug yet. It's a weird and dodgy bug.

Exlium

Jul 19, 2021 8:32 pm

reporter   ~0062519

Only the support factories seem to be able to build their drones and its only while they are building other ships. They aren't generating naturally on any of the AI's drone carriers.

GreatYng

Jul 20, 2021 1:33 pm

reporter   ~0062524

Support factories seem to be the only exception to not building drones, and then only sometimes.

I decided to check at which version of the game drone construction doesn't work for me any more. It turns out that starting at version 3.311 drone construction is broken at the start of a new campaign.
In version 3.310 drone production still happens like it should. In version 3.311, 3.313, and presumably 3.312 (I didn't check that one) drone production is broken.
I attached the saves at the start of the campaigns for all three versions.
Version 3 310 start.save (245,447 bytes)
Version 3 311 start.save (235,996 bytes)
Version 3 313 start.save (223,929 bytes)

Tzarro

Jul 23, 2021 1:01 am

developer   ~0062528

Last edited: Jul 23, 2021 1:03 am

I can also reproduce this issue. I've noticed (similar to how it has been described above) that drones will only replenish when other construction is taking place on the same planet. This can include a flagship building strikecraft, a turret being built, a factory under construction, etc. As long as some kind of construction is going on, the drones will build. However, as soon as there is no longer anything being built on a planet, drone construction halts. I've noticed this happening both to my combat factories, as well as a hive golem that I captured.

I've attached a save where this bug is happening to both the aforementioned unit types. I have the Civilian Industries, Kaizer's Marauders and AMU mods active in this save.
1.save (439,129 bytes)

Chris_McElligottPark

Aug 4, 2021 5:17 pm

administrator   ~0062582

* Removed all the old code for calculating drone construction internally for ships.
** It doesn't have much to do with other metal flows, and thus just does not belong there.
*** Specifically it doesn't cost any metal, nothing should be able to boost it to be faster, and so on.
** Also the code was really confusing and has been broken in a lot of strange cases (but not all) ever since the July revamp of metal flows.

* Added a new DoForFleetsParallel() set of methods on World which let us do rapid parallel processing of fleets where needed.

* There is all-new drone construction logic (well, a lot of it was proted over) that runs in parallel for each fleet, and which calculates itself super efficiently and correctly.
** One thing among many that was funky in the old drone construction math was that if a fleet had multiple drone types it would give diminishing amounts to each one beyond the first.
** Another strange thing with the old drone construction logic was that it constructed in fits and starts, unlike other kinds of construction, and it was really not clear why.
** Now so long a the game isn't paused, and the flagship/centerpiece is not crippled, drones should construct at a steady rate. You're not charged metal for this (never have been), so it's simply handled in the quickest way possible.

Issue History

Date Modified Username Field Change
Jul 16, 2021 1:05 pm GreatYng New Issue
Jul 16, 2021 1:05 pm GreatYng File Added: Marauder Drones.save
Jul 16, 2021 10:09 pm Daniexpert Status new => feedback
Jul 16, 2021 10:09 pm Daniexpert Note Added: 0062474
Jul 17, 2021 9:13 am GreatYng Note Added: 0062482
Jul 17, 2021 9:13 am GreatYng File Added: Autosave at 24m 0s.save
Jul 17, 2021 9:13 am GreatYng File Added: Autosave at 30m 0s.save
Jul 17, 2021 9:13 am GreatYng Status feedback => new
Jul 17, 2021 9:46 am Daniexpert Note Added: 0062483
Jul 17, 2021 9:46 am Daniexpert Status new => acknowledged
Jul 17, 2021 9:51 am Daniexpert Note Added: 0062484
Jul 17, 2021 9:51 am Daniexpert File Added: 2021-07-17 15_48_56-AIWar2.png
Jul 17, 2021 10:10 am Daniexpert Note Added: 0062485
Jul 17, 2021 10:10 am Daniexpert File Added: test1.save
Jul 17, 2021 6:39 pm Daniexpert Note Added: 0062494
Jul 19, 2021 8:32 pm Exlium Note Added: 0062519
Jul 20, 2021 1:33 pm GreatYng Note Added: 0062524
Jul 20, 2021 1:33 pm GreatYng File Added: Version 3 310 start.save
Jul 20, 2021 1:33 pm GreatYng File Added: Version 3 311 start.save
Jul 20, 2021 1:33 pm GreatYng File Added: Version 3 313 start.save
Jul 23, 2021 1:01 am Tzarro Note Added: 0062528
Jul 23, 2021 1:01 am Tzarro File Added: 1.save
Jul 23, 2021 1:03 am Tzarro Note Edited: 0062528
Aug 4, 2021 4:16 pm Chris_McElligottPark Relationship added related to 0025461
Aug 4, 2021 5:17 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Aug 4, 2021 5:17 pm Chris_McElligottPark Status acknowledged => resolved
Aug 4, 2021 5:17 pm Chris_McElligottPark Resolution open => fixed
Aug 4, 2021 5:17 pm Chris_McElligottPark Fixed in Version => Beta 3.503 Multiplayer Sound
Aug 4, 2021 5:17 pm Chris_McElligottPark Note Added: 0062582