This guide will show how to create free unit (costs 0). Maybe this will be fixed, because this is a bug.
Guide to Create Unit Free
The Creation of the Unit
At first you create unit what you want. Setting stats, abilities, weapon, dress, icon, name and description. Then select manual cost and don't touch price field.
And we are done! I hope You will like this guide and good luck in the battles!