Suddenly and unexpectedly, I saw that Unity started endlessly spitting out such warnings and errors to me without any information (there is simply no information and there is no link to a place in the code either). This happens both in the Unity Editor and in the Build Project.
RenderTexture.Create: Depth|ShadowMap RenderTexture requested without a depth buffer. Changing to a 16 bit depth buffer.
I tried to find a solution in Web and tried to localize the error, but I couldn’t. What should I do with this horror and what do Unity want from me? I have never seen before such an error in Unity.
This error is very annoying in the editor - it slow down the verification and debug process.
It was found that this error appears if Decals are draw in certain layers. The author of the asset accepted the information. Nothing more is known about this error so far. But the main thing is that I can disable it.
I noticed the same error message on AQUAS 2 water plane, when activated and when I switch to CREST OCEAN (Github) version, the same error happens, in the same scene. I then only deactivated the material of both water plugins. It has something to do with the shader parameters. If that helps someone for targeting the problem. My hands are bound, have no knowledge in writing shaders. The error is continuously counting up. Anyone has a clue?