Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

In which line are you getting the null reference? Null reference exception means what you are trying to  access something that has no reference, so it could be that you have no reference to your GameManager when calling the "nextLevel" method.