GPU Resident Drawer: Shadows are not rendering with 'On Demand' update mode

I’ve updated to Unity 6 to see if it works as expected. I have a minimap system in the game that uses a render texture with an additional camera to display the minimap. The shadow update setting for all lights in my game is set to ‘On Demand’ mode. However, shadows are not rendering when the GPU Resident Drawer is enabled.

This issue is easy to replicate: create an additional camera, set a render texture in its target texture field, enable the GPU Resident Drawer, and set the shadow update mode for the directional light to On Demand you will notice that all shadows stop rendering.

I think I have an idea of what could be happening. Could you please submit a bug ticket with the simple repro you mentioned?

1 Like

Hello, Thanks for the reply. I’ve raised ticket yesterday with repro.
CASE IN-87480

2 Likes

Just chiming in to say that I am also experiencing this issue. Any timeline on when a fix will be out?

It is not a bug. You need to make sure that your secondary camera is not rendering shadows.

Can you elaborate? Why would it not be a bug if having a secondary camera rendering objects impacts this?