I am trying to write a clean up script, but I ran into an issue: I cannot {deleteVehicle _unit;} on units that have died in a vehicle.
I tried {_unit setpos (getpos _unit);}, but this did not work as well.
This never happens when the units are killed via script. And only sometimes happens when they are shot.