[URP/LWRP] Renderer feature breaks all reflections.
I'm using the renderer feature for cell shading found in this unity video: https://www.youtube.com/watch?v=joG_tmXUX4M I made some small modifications to allow it to work in 2019.3.9f1 that mostly involved replacing references to LWRP with references to URP. After setting it up and getting it working, I select the forward renderer object and disable the Sobel Outlines Renderer feature then bake a reflection probe and it looks like this: (working as expected) I can then re-enable the renderer feature and it will look like this: (This is my desired result) but the moment I re-bake the reflection probe now that the renderer feature is turned on, it turns black and so does the reflection on any object relying on the reflection probe (such as the shiny sphere in the background of the screenshots) I would add a screenshot of this but Unity only allows 2 screenshots per question which does not help me make my point at all. I can get my desired result by disabling the cell shading renderer feature, baking my probes, and then enabling it again, but this is tedious and jank and I would like to avoid doing so. Does anybody have any idea why this happens or how I can prevent it? Here's what I've done to try and fix it:
I've tried both realtime and baked reflections. I can't get my reflection probes to show anything but black. Realtime reflection probes are enabled in my URP asset. I can't even get items in my scene to reflect the skybox in the absence of a reflection probe. All reflections are black. I've tried baking the entire scene. I am not using Post Processing V2. I'm using the PP made for URP. (URPAsset>Post-Processing>Feature Set = Integrated) I've tried enabling and disabling HDR on my reflection probe. I've tried setting the culling flags on my reflection probe to nothing and setting the clear flags to skybox and still can't see the sky. Just black. I've tried setting the clear flags to solid color. Still nothing.
Thanks in advance for any help.
This is what the probes look like after I bake them after enabling the cell shading renderer feature:
I also have this problem with reflection probes and custom render features.
Were you ever able to solve this?
Answer by oleg_v · Jul 30, 2021 at 12:04 AM
Even simple custom pass with Blit(source, tmp, material); Blit(tmp, source); make RP black. Searching for a way to solve it or to exclude custom feature/pass for RPs.
Just skipped custom pass for cameraType = Reflection.
Your answer
Follow this Question
Related Questions
HDRP Render priority 3 Answers
Graphic bug only in the build,Graphic problem only in the build 0 Answers
Importing assets from sketch up to unity 3d 1 Answer
Particle system in UI is not working. 0 Answers