Campaign AI won't rebuild destroyed warp gates. It has warp gate researched, it has enough resources, but it won't rebuild it. Same thing happens when I place Impaler den - it is like ai does not know that it has to build prerequisite building (gateway or hydra den). On the other hand, it rebuilds greater spire without any issue. I was wondering where should I look in data editor to modify this behavior. Of course, direct solution is also welcome :)
That might work - I'll test it. Another workaround is to make probe warp Warp Gate directly (I hide the button, so players won't see it) - I tested it and it works. But I'm curious what is the difference between morphing a spire and morphing the gateway. Why does ai understands how to create Greater Spire from Spire but not Warp Gate from Gateway?