StandardAssets Water issue

Hi
I am fairly new to Unity and I’ve been looking around for the answer to my problem, but couldn’t find a method that worked. I recently updated to Unity 5.2.1 and imported the new StandardAssets to a game I originally created in Unity 4. In doing so, I got 900 issues in the console of the following:

Material doesn’t have a float or range
property ‘_WaveScale’
UnityEngine.Material:GetFloat(String)
UnityStandardAssets.Water.Water:Update()
(at
Assets/Visuals/Materials/Materials/Environment/Water/Water/Scripts/Water.cs:203)

and 2)

Material doesn’t have a color property ‘WaveSpeed’
UnityEngine.Material:GetVector(String)
UnityStandardAssets.Water.Water:Update() (at Assets/Visuals/Materials/Materials/Environment/Water/Water/Scripts/Water.cs:202)

The water.cs script looks fine, I’m not sure where the issue is happening. If anyone has any suggestions, please let me know. Thank you in advance

I had this exact same problem and I could not for the life of me figure out why it was happening. Eventually I just added another check in the code to make sure the material was the specific one I had set:

if (!GetComponent<Renderer>())
{
    return;
}
Material mat = GetComponent<Renderer>().sharedMaterial;
if (!mat)
{
    return;
}
else if (mat.name != "Ocean") //My materials name is 'Ocean'
{
    return;
}

I had this set on a procedural mesh so I get the feeling that there was a second when the default mat was on it before switching to my assigned material and that’s what threw the errors, but I’m not really sure.