In order to generate a bone rig I have created the metarig and adjusted it to my model/character. As I am trying to create something simple (to use it in Unity), I removed the face and ears.

Then I re-calculated the noremal ("Shift + N" and then "Y").

Once I generated the rig (Object Data Properties > Rigify Buttons > Generate Rig) I got the following error: