- Home /
Water problem in Unity 5: the water4 is broken? Can't delete reflection camera that does nothing.
Ever since Unity 5 I noticed that the previously pro only water4 is no available for free edition as well. I tried to use it, it partially worked. However there is something absurd about the reflection camera.
If I use a water4 prefab (be it simple or advanced, I use simple in this example) there will be an Water4SimpleReflectionSceneCamera automatically created. From the camera preview it looks like it's rendering the reflection of the skybox. However it doesn't do a thing when I actually run it. I spend some time tried to figure out what happened but can't find anything useful. It has a targeted texture which is used in water4 but I don't see the effect on it (the camera component is also unchecked by default, if I force to check it while in game the camera will switch to that one, which is no surprise, but I don't understand why it is there). Also the camera cannot be deleted, it will auto recreate itself after deletion.
So, what does this camera do precisely? How do I utilize it or get rid of it?
You can see the preview of the reflection camera rending the skybox reflection, however in game there is no such effect, this camera also cannot be deleted.
P.S. also, in water4 prefab there is a specular component under it that has nothing but a transform, is it useless?
Indeed I ran into this issue as well and it seems Unity hasn't updated their documents on Water4 since Unity 3.x. What is there is $$anonymous$$imal, I have had these same issues and there is a lack of information on the internet for Water4 - it's as if no one uses it (probably for a number of reasons). Anywho, regarding the specular highlight, you can set the transform component on that water to your light, this way if you have a day/night cycle the highlight will be in the correct area.
Answer by wisher_wisher · Nov 09, 2018 at 09:01 PM
i have the same problem bro and believe me, I tried everything I think that is a huge bug in unity or they just simply don't want us to use that water in our way
Answer by qubodup · Dec 17, 2018 at 01:09 PM
Water4AdvancedReflectionSceneCamera is impossible to delete unless you delete Water4Advanced first.
Solution: delete the object Water4Advanced first.