If an attack modifier ability has an empty Cost array (not just no cost, but an empty array), then any unit that has that ability will crash the game upon being created. The unit doesn’t even need to use the ability (or be able to use it) for this to happen, as long as it has the ability at all.