Can confirm a failure condition that's just out of the blue. No units lost, no nothing lost. Was building a Garage and getting ready to build my first spaceport, when the AI launched its n-th EMP Missile and then I failed. Playing it on Hard, to pass the time.
Also, I want access to the source, since some things are getting annoying already.
EDIT: We probably nailed this one, was a problem on my part.