- Home /
Recursive culling with the same camera is not possible.
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.
Any help is much appreciated.
Since posting this I moved on to finish a number of other tasks, and only now just got back to it. Still stumped, so this comment is essentially a bump.
Tricky. Can't say I've dealt with that. Did you see these?
http://answers.unity3d.com/questions/8935/rendertocubemap-issue.html
http://forum.unity3d.com/threads/recursive-culling-with-the-same-camera-is-not-possible.206700/ (less helpful, probably, but does have one suggestion)
I get the impression it's something to do with a reflection cubemap trying to render some object which is reflective. Possibly including itself? Reflections rendering reflections, apparently no bueno.
The second link kinda shed some light but at runtime the culling mask of the Camera of the "Water4Example (Advanced)ReflectiondrownFX" GameObject keeps forcing a culling mask. So changing it before runtime or during does nothing.
Answer by Jasper_A_Moore · Nov 04, 2015 at 09:45 PM
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.
Answer by Fattie · Dec 30, 2014 at 03:12 PM
http://forum.unity3d.com/threads/recursive-culling-with-the-same-camera-is-not-possible.206700/
i get the feeling it's a bug -- I think if you ever happened to have set a new Layer, entered a new Layer, you seem to get this error or warning.
As far as I can tell it's harmless, it just appears once and then it does something to "fix itself" right?
Answer by Jeremy2300 · Oct 01, 2016 at 04:45 PM
I know this is old, but didn't find a decent solution anywhere when I just ran across this issue in my project.
I think it occurs when the object, with the WaterTile component, is set to a layer that you're reflecting in the PlanarReflections LayerMask.
I set both the WaterBase and WaterTile objects to a layer that isn't being reflected and haven't had the Error come up since.