How to get Unity Island demo working with unity 4.0
(created: 21 april 2013)
1) Download IslandDemo.zip from
http://unity3d.com/gallery/demos/live-demos#tropical-paradise
2)Unzip it and open
C:\unity\IslandDemo\Assets\Islands.unity
3)Got some error
3.1) First change the code
//if(water) waterLevel = water.gameObject;
if(water) waterLevel = water.gameObject.transform.position.y;
3.2)Delete UpdateTreeColor.js
thank you
ReplyDeleteThanks, still looks good, have fond memories of the first time I opened Unity and this level was loaded. P.S. The script to edit is UnderwaterEffects.js and you will have to manually add some textures/cubemaps ect.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteI could see that Island Demo has very good reputation and had numerous good comments which convinced me to download it. But after i downloaded i had problems.
ReplyDeleteAfter i downloaded the Island Demo in zip and unzipped it and opened it in unity, i could see errors by which i was not able to play. It said
1) Assets/Scripts/MeshCombineUtility.cs(27,74): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `GetTriangleStrip' and no extension method `GetTriangleStrip' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
2)Assets/Scripts/MeshCombineUtility.cs(121,73): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `GetTriangleStrip' and no extension method `GetTriangleStrip' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
3)Assets/Scripts/MeshCombineUtility.cs(167,30): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetTriangleStrip' and no extension method `SetTriangleStrip' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
4)Assets/Scripts/AnimationSpeed.js(6,9): BCE0048: Type 'UnityEngine.Component' does not support slicing.
5)Assets/Scripts/UnderwaterEffects.js(23,46): BCE0022: Cannot convert 'UnityEngine.GameObject' to 'float'.
6)Shader error in 'FX/Island Water Simple': 'tex2Dproj': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2Dproj(sampler2D, float4|half4|min10float4|min16float4) at line 136 (on d3d11_9x)
Compiling Vertex program with WATER_REFLECTIVE
These are the six errors i got. Please help me resolve it. I was not able to understand a word it was saying(showing). I am in need.....please help me as soon as the readers can. Please help me Unity!![alt text][1]