That's what happens when you try to spawn units that are undefined. It has no health, no locomotor, no image, no nothing. And that's what you get, a lot of nothing.
Why on earth are you removing existing units?? Disable them if you want but do not remove them. There are maps which pre-place standard units, so you should provide at least legacy support for all standard units.
|