Active Terrain not availalbe

I have a problem with this access function in one project.


Although I have a terrain which is assigned to a particular scene and I can see it, I got that errror:

`Terrain' does not contain a definition for`activeTerrain' It sounds like that this kind of class isnt known ...

In other unity projects I dont get this kind of error and this access function delivers the active terrain instead.

Could you help please.

Make sure you haven't made your own script (or a new class) called Terrain.

These errors usually pop up when you've overloaded the name of a built in class

Yes thats it. That fully explains the error msg now.

Thx so much.