I have no State Machines unit in the Blueprint menu

Ok. Are you in the anim graph, not the event graph?