Skip to main content

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

The first error is because of a missing namespace (“using System.Linq;” I think). I recommend using an IDE that can autofill namespace automatically. I’m using Visual Studio (which also has a free version available) but I think you may be able to achieve similar results vs Visual Studio Code.

The second error is probably also related to a missing namespace (or a package in your project?).

(2 edits)

I am using VSCode.  Yep, the first error was fixed with the System.Linq, thanks!

Regarding the second error, I'm able so create scripts of my own with the NavMesh components (in the same project), its only when I try to add them to any of the Edgar scripts that i get the error.

I'm using NavMeshPlus, which is considered an experimental packade by unity, don't know if that has anything to do with it..

Is it possible that you’re adding/editing files in the Edgar Examples folder and the package is somehow not included there? If you’re doing that, it’s not a good practice because when I release a new version of the generator, you may lose some of your custom changes if your files are located inside the Edgar folder. You should create your own scene outside of the Edgar folder and add scripts there.

Yes, until now i've only been experimenting with the example files.  The package is in the same project though.

As soon as i have some more time i'll try to create a scene from scratch. Thank you again.

Ok, after starting from scratch and using a custom post process I was now able to get Navmesh working at runtime, thanks again!

Good!