Strange Water Script Error

Hi,

I have this strange error that appeared a couple of days ago on the water 4 script, the water seems to run fine in play mode, however it is a big problem as I can’t build and run the game until the error is fixed. There are actually a list of errors, sorry if this post looks a bit messy.

Mesh.vertices is too large. A mesh may not have more than 65000 vertices.
UnityEngine.Camera:Render()
PlanarReflection:RenderReflectionFor(Camera, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:171)
PlanarReflection:RenderHelpCameras(Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:80)
PlanarReflection:WaterTileBeingRendered(Transform, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:93)
WaterTile:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/WaterTile.cs:41)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler(Event)

Mesh.uv is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Camera:Render()
PlanarReflection:RenderReflectionFor(Camera, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:171)
PlanarReflection:RenderHelpCameras(Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:80)
PlanarReflection:WaterTileBeingRendered(Transform, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:93)
WaterTile:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/WaterTile.cs:41)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler(Event)

Mesh.uv1 is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Camera:Render()
PlanarReflection:RenderReflectionFor(Camera, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:171)
PlanarReflection:RenderHelpCameras(Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:80)
PlanarReflection:WaterTileBeingRendered(Transform, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:93)
WaterTile:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/WaterTile.cs:41)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler(Event)

Mesh.colors is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Camera:Render()
PlanarReflection:RenderReflectionFor(Camera, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:171)
PlanarReflection:RenderHelpCameras(Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:80)
PlanarReflection:WaterTileBeingRendered(Transform, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:93)
WaterTile:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/WaterTile.cs:41)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler(Event)

Failed setting triangles. Some indices are referencing out of bounds vertices.
UnityEngine.Camera:Render()
PlanarReflection:RenderReflectionFor(Camera, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:171)
PlanarReflection:RenderHelpCameras(Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:80)
PlanarReflection:WaterTileBeingRendered(Transform, Camera) (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/PlanarReflection.cs:93)
WaterTile:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Water4/Sources/Scripts/WaterTile.cs:41)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler(Event)

Mesh.vertices is too large. A mesh may not have more than 65000 vertices.
UnityEngine.Camera:Render()
Water:OnWillRenderObject() (at Assets/Standard Assets/Water (Pro Only)/Sources/Scripts/Water.cs:97)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler(Event)

Has anyone else come across this problem with their water 4 asset? I think it must be a bug, because I don’t understand why it would suddenly change by itself, if any one has had a similar problem could you please let me know, because the water seems to be affecting my frame rate a lot more than it should without these errors? I tried reimporting the standard asset package but this didn’t work.

For me, the problem was that I had somehow ended up with a second reflection camera in my scene, deleting any associated cameras worked, because the scripts for water4 generate their own cameras in the event that one is missing.