Sending 2 strings to coroutine does not seem to work

Hi All,
I have a method that has two strings in it,

public void GetValues(string emailText, string passwordText)
{
    Debug.Log(emailText + passwordText);
    StartCoroutine(Send(emailText, passwordText));
}

Debug.Log works fine, but when I pass it to my Coroutine,

private IEnumerator Send(string emailText, string passwordText)
{
    Debug.Log(emailText + passwordText);
}

I get nothing in my Debug.Log.
Could not figure out what is wrong for hours
Please help!

Unity tends to group logs that are the same. In your console do you see something like this?

emailpassword (2)

Your coroutine may be logging and being grouped with the first one.
Sorry if that doesn’t help, nothing jumps out as wrong to me with the code.

Hi. Thank you for your answers. The issue was in the main class where I called the Coroutine.

It did not start from the main thread so it did not work. The issue is fixed now.

Without the full code provided, it was impossible to understand what was wrong, my bad.