Topic: error CS0118: 'Terrain' is a namespace but is used like a type

Assets\Infinity Code\MeshToTerrain\Scripts\Editor\Converter\MeshToTerrain.Textures.cs(233,36): error CS0118: 'Terrain' is a namespace but is used like a type

Probably not a bug but def a conflict. Any idea what can cause this error?  I'm hoping there's a simple explanation because this tool is fantastic.

Re: error CS0118: 'Terrain' is a namespace but is used like a type

Hello.

The problem is that you have a Terrain namespace that conflicts with UnityEngine.Terrain class.
To fix the conflict, rename your namespace or move it to a inner level (such as MyApp.Terrain).

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.