Error ; TerrainLightmapper doesnot exist in UnityEditor ??

-UnityEditor.TerrainLightmapper.UpdateTreeLightmapColor(tex,Terrain.activeTerrain.terrainData);

  • UnityEditor.TerrainLightmapper.UpdateTreeColor(tex, Terrain.activeTerrain.terrainData);

This statment doesnt work with Unity 3.0 , is there any problem cux of upgrading of project ISLAND DEMO ?? Please tellme how to fix this issue .

Beast lightmapping for all objects has superseded the terrain lightmapper. There is a new 3.0 version of the Island demo in the works, but UT has not released it yet.

I was able to play the island demo on Unity3 by commenting "//" out the two lines that start "UnityEditor.TerrainLightmapper.UpdateTreeColor". This should temporarily "fix" the errors you get when trying to play the demo from inside Unity3.

error , if comment "//" and when go to under wather ....and go from it - tnen tree wil be ligting :))) ....very ERROR!!!!

i telecharged the demoIsland de unity 3d. when i try to open it with Unity 3.3
i saw this error:
(Assets/Editor/UpdateTreeColors.js(13,29): BCE0019: ‘TerrainLightmapper’ is not a member of ‘UnityEditor’.)
so i tried to open the script " UpdateTreeColors.js" and i commented “//” this 2 lines:

  1. line of the function static function RebuildWithLightmap ()

//UnityEditor.TerrainLightmapper.UpdateTreeLightmapColor(tex, Terrain.activeTerrain.terrainData);

  1. line of the function static function RebuildWithColor ()
    //UnityEditor.TerrainLightmapper.UpdateTreeColor(tex, Terrain.activeTerrain.terrainData);

so the scene became as shown in this figure:

http://i54.tinypic.com/idhtoj.png