- Home /
TerrainLightMapper isisn't a member of Unity Editor
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:
line of the function static function RebuildWithLightmap ()
//UnityEditor.TerrainLightmapper.UpdateTreeLightmapColor(tex, Terrain.activeTerrain.terrainData);
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
please help me!!
=\ they still seem to haven't updated the old demo projects to work with the new versions of Unity..
=\ they still seem to haven't updated the old demo projects to work with the new versions of Unity..
Answer by JJBreaker · Jan 14, 2012 at 03:26 PM
As far as I know you just need to delete that line in the script, it's not necessary in 3.0
Answer by JJBreaker · Jan 14, 2012 at 03:26 PM
As far as I know you just need to delete that line in the script, it's not necessary in 3.0
Answer by JJBreaker · Jan 14, 2012 at 03:26 PM
As far as I know you just need to delete that line in the script, it's not necessary in 3.0
Your answer
Follow this Question
Related Questions
Skinned Mesh Renderer Replace Mesh + Material with script 1 Answer
Ivisible objects when i import them? 1 Answer
I cant play my game 1 Answer
Unity Rendering Gone Weird 1 Answer
Inventory System 4 Answers