I agree with others - logging is the most important thing here. If the game will crash, it's not much of a problem here, as it's the modder's duty to check if the AI can build everything. A finished mod won't crash because of a missing building anyway, so I don't see a need to implement some extra fixes to prevent it from happening.
I agree with others - logging is the most important thing here. If the game will crash, it's not much of a problem here, as it's the modder's duty to check if the AI can build everything. A finished mod won't crash because of a missing building anyway, so I don't see a need to implement some extra fixes to prevent it from happening.