The error I’m getting is the title of this question.
I added the water pro example prefab to a scene. That error continuously spits out. I don’t know why. I’ve tried searching answers.unity3d and the forum and google. No on seems to have posted anything to do with this or I don’t know the proper search string to use.
There is no code written by myself that effects the water. I just dragged it into the scene and tweaked some inspector values.
I’m still not sure what the cause of this error is, but I fixed the error in my project by setting AdvancedWater->PlanarReflection->ReflectionMask to “Nothing”, rather than “Everything”. I simply didn’t need the reflections, other than the skybox, but if you need certain reflections, you might try experimenting with turning only certain layers on/off. Hope this helps anyone who may be having this problem in the future.
I had a similar issue with a mirror object, when looking at the mirror from behind this error would crop up and start spamming my console.
THIS is the issue, and here’s why: For a mirror the two objects you need is a Camera and a Surface to project what the camera sees. It’s not quite as simple as that but you get the idea.
This error comes about when the Camera is trying to capture / reflect the Surface it’s projecting on; it can’t do that. So you have to ensure that the Camera’s culling layers exclude the layer of the Surface itself.