07-06-2018, 07:47 AM
(06-06-2018, 10:31 PM)josemendez Wrote: Hi,
Fluid is rendered using a screen-space approach, as long as the required shaders are present in the project everything should render correctly no matter what your render settings are. However without taking a look at your project and the changes made to it over the course of these two weeks it is pretty much impossible to figure out the cause.
First thing I'd do is to re-import the asset (to rule out missing shaders) and see if this fixes it. You can always return back to your previous state using git.
Fluid is never rendered in the Scene tab. As a post-process effect that makes use of command buffers, it can only be rendered in the Game tab.
Thanks so much for your reply. I have found one thing which is related to missing shaders. Previously, while trying to get my project to be compatible with Unity 2018, I had some errors from Obi Fluid about shaders. So I had to remove a shader from the build; namely, ParticleShader.shader. Unfortunately, other aspects of my project turned out to be incompatible with Unity 2018 so I had to revert back to Unity 2017. Yet, this shader was still removed from the build.
I didn't remember that it had been removed from the build until I faced this issue. I put the shader back into the build, but the problem hasn't gone away. I've tried re-importing all my assets as well as regenerating the Library folder of my project. Sadly, neither of these attempts has fixed the issue so it seems that the root cause of the problem lies elsewhere. But that doesn't make much sense because all of my other changes have nothing to do with Obi Fluid. Do you think that this shader is somehow corrupted now or otherwise causing this issue?
Also, thank you for clarifying about the Scene tab. I was not aware of that.