Search Unity

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

Discussion in 'Editor & General Support' started by Brian-Washechek, Jun 6, 2020.

  1. Brian-Washechek

    Brian-Washechek

    Joined:
    Aug 5, 2015
    Posts:
    846
    6-05-2020.png
    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.
     
    Last edited: Jun 6, 2020
  2. Brian-Washechek

    Brian-Washechek

    Joined:
    Aug 5, 2015
    Posts:
    846
    Thanks! Simple typo!
     
    Ultimate_rt likes this.