Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Build doesn't match editor look
#2
(04-09-2022, 08:05 PM)asama Wrote: Hi,

After spending a good amount of time adjusting the fluid parameters in the editor until getting the look I liked, I tried to make a build and was surprised to get a pretty different result. Here are pictures of the editor (left) and the build (right):



I also tried to make a build of one of the examples provided, and I seem to be getting a similar result, where the fluid in the build looks whitened.



I'm using Windows 10, the Build In Render Pipeline, the ParticleShader in the emitter, and I've tested in both Unity 2021.3.8f1 and 2021.3.9f1 Here are the fluid renderer settings I'm using in my scene:



Thanks in advance!

Hi there,

Obi uses Unity's built-in reflection probes for reflections. Recent Unity versions seem to have a bug that sometimes cause reflection probes to not be available after rendering the skybox, only in builds. See this related thread:
http://obi.virtualmethodstudio.com/forum...-3564.html

The absence of reflections will cause the fluid to look different in build than in-editor. Only seems to be reproducible on certain specific GPUs, and only in 2021 and up. I've already reported this as a bug to Unity.

For the time being I'm preparing an alternate fluid shader that accepts a specific cubemap as input for reflections. Will make it available for download here asap.

kind regards,
Reply


Messages In This Thread
Build doesn't match editor look - by asama - 04-09-2022, 08:05 PM
RE: Build doesn't match editor look - by josemendez - 05-09-2022, 07:43 AM
RE: Build doesn't match editor look - by asama - 05-09-2022, 03:15 PM
RE: Build doesn't match editor look - by asama - 05-09-2022, 04:19 PM
RE: Build doesn't match editor look - by asama - 05-09-2022, 09:18 PM
RE: Build doesn't match editor look - by asama - 06-09-2022, 09:27 AM
RE: Build doesn't match editor look - by asama - 07-09-2022, 02:34 PM