Search Unity

Daylight Simple Water prefab not showing [SOLVED]

Discussion in 'Scripting' started by asterix, Sep 1, 2009.

  1. asterix

    asterix

    Joined:
    Aug 1, 2009
    Posts:
    245
    Something wrong with my Daylight Simple Water prefab. Here is a picture of the component I fond in it. When I put it on the scene is just don't show up, but present in the hierarchy. I try to reimport, but same problem. Where is the island demo, I din't tryed to import that prefab, maybe? I attached a screen shoot of the components.

    The console give those 2 messages:

    Code (csharp):
    1. Material doesn't have a color property 'WaveSpeed'
    2. UnityEngine.Material:GetColor(String)
    3. UnityEngine.Material:GetColor(String)
    4. UnityEngine.Material:GetVector(String) (at C:\builds\unity-branches-2.5.x\unity-2.5.x\Runtime\Export\Generated\Graphics.cs:992)
    5. WaterSimple:Update() (at Assets\Standard Assets\Water\Sources\WaterSimple.cs:17)
    6.  
    7. [..\..\Runtime\Shaders\Material.cpp line 470]
    Code (csharp):
    1.  
    2. Material doesn't have a float or range property '_WaveScale'
    3. UnityEngine.Material:GetFloat(String)
    4. UnityEngine.Material:GetFloat(String)
    5. WaterSimple:Update() (at Assets\Standard Assets\Water\Sources\WaterSimple.cs:18)
    6.  
    7. [..\..\Runtime\Shaders\Material.cpp line 503]
    8.  
    9.  
    Thanks to me, I solved it
    1. Create new scene
    2. Made a unity package from water folder
    3. In my bogus scene, I delete the water foolder.
    4. Import packet created.

    Bingo.
     

    Attached Files: