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