Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi SGNQuen, did you change something in your code after purchasing the asset?

The error showing up is telling you that the selected Unit's type parameter is not an array (or List). So you probably edited the Json (?).

If so, make sure that in your units at the "type" parameter, you set a list of types even if the Unit has just one type.

Example:

MyMonoTypeUnit {

       "type":  ["grass"]  => Even if the Unit has one type, we use a list with one entry

}

MyMultiTypeUnit {

       "type":  ["grass", "poison"]

}


Let me know if that was the issue :)