Tasks can only be assigned to teammates who are Added to the Project.
If you don't see your name on the dropdown when assigning tasks, that means you haven't been added to the project yet.
You can learn more about adding yourself or other teammates here (Article).