FAForever / fa

Lua code for FAF
223 stars 230 forks source link

AI Does not die at game end #6059

Open archness1 opened 4 months ago

archness1 commented 4 months ago

1294

Describe the bug We are seeing what appears to be the issue in 1294 again.

To Reproduce We've played multiple games with this problem, I've attached two replays and game logs. Please fast forward the replays to the very end to see the units remaining on the map. In one of the replays, we tried nuking, reclaiming, building over, and more to destroy the models but no luck.

I've attached the mods used in the replay as one is custom and not in the library.

Expected behavior Units, models should be destroyed and are the AI doesn't die.

Screenshots Please see the replay at the end.

aidoesnotdielogs.zip

mods.zip

Garanas commented 4 months ago

Could you confirm that everything is fine when the mods are disabled? It's likely an incompatibility with one of the mods

tekrog commented 4 months ago

We did additional testing and found that the issue is reproducable with no mods enabled. It does not appear to be related to the AI, but to the transport ships and how they are destroyed. If certain transport ships are destroyed by ground fire, such as point defense or the commander's weapon, the tranport ship will be destroyed but leaves an undestroyed husk. The ships below are affected by this issue:

Aeon: T2 transport Cybran: None UEF: T1 and T3 transport Seraphim: T1 and T2 transport

I believe the issue with the game not ending has more to do with a bug in the Supremacy mode where it does not end until all units are destroyed instead of just factories and engineers.

Attached is a screenshot of the undestroyed husks.

husks