-
Notifications
You must be signed in to change notification settings - Fork 84
Description
UPDATE: The tunnel network that is being subdued is still in it's deployment state, this is where the issue occurs. While it is still being subdued and the player surrenders is when the crash occurs. Fully deployed surprise tunnels do not crash the game while being subdued and the player surrenders.
So in this replay, around 32 minutes in, Rik's sneak attack tunnel in the top right of the map is being subdued by microwave tanks to disable the tunnel network.
When Rik surrenders, during player cleanup, the reallocating of teams on the tunnel network triggers the tunnel network to attempt to subdue the occupants again due to the microwave tanks. This results in a crash due to there being no associated tunnel container.
A windbg image showing the call stack

I have not yet reproduced the crash as i think it will require muliti client being enabled so one player can perform a surrender.
I can't get the crash to trigger when running a local game at least with the ways i attempted to trigger it.
One way i did manage to let the replay finish was to check the size of the container within ActiveBody::attemptDamage
before the call to ActiveBody::onSubdualChange
The replay