Remember awhile back, whilst messing with the PLUGIN, I mentioned the invisible unit (active but invisible)... I'm still seeing this (on occassion) and I'll post screenshots and see if it can be saved.
Now, the interesting part is that there's another instance that closely duplicates the invisible unit ... I'll explain.
First, when using the PLUGIN (RE), it appears to generate(perhaps duplicate) this unit at the same relative x/y position as the normal units... meaning, it's offset at the same position. The unit can be quickly identified if the duplicate is a vehicle ... you can see the exhaust animation pumping out in the FOW. Now, if I move a unit to reveal the LOS (or FOW), it will stop pumping out the exhaust and will no longer be there, and not a problem.
Ok, now for the second instance that can be duplicated easily .... You know when you're in the Editor and can "stack" units onto the same tile ... Not recommended, yeah (when not a transport, or 2+ in a transport) ... but the effect appears to be the same ... In the game, if you kill the original unit, the stacked unit will shoot at you, but not be there in reality.
So, my uneducated theory (for now) ... Perhaps the PLUGIN is stacking units when building the list ?? Although your script is removing them, in reality, they sometimes remain (in memory?) ... or shall I say, the units are only there "In Spirit"
Anyway ... when I get a good screen shot or a save I'll update this post.
Thanks.
Merr

