Error: "Argument 1: cannot convert from 'System.Collections.IEnumerable' to 'string'"


I’m getting this error and I don’t get it.- “Assets\Scripts\GameManager.cs(25,28): error CS1503: Argument 1: cannot convert from ‘System.Collections.IEnumerable’ to ‘string’”. I have no idea what it wants.

Instead of IEnumerable you need to use IEnumerator. https://docs.unity3d.com/Manual/Coroutines.html

7 Likes

Thanks! Simple typo!

1 Like