Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Suppressing "Max shadow requests count reached..." spam, and similar

Discussion in 'Graphics Experimental Previews' started by dgoyette, Apr 3, 2019.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    3,211
    I was adding an option to my HDRP game to allow users to change the graphics settings. One of those settings is the number of shadows to display. I assumed that setting maxShadowRequests to some lowish value would mean performance savings, but instead Unity just starts spamming "Max shadow requests count reached, dropping all exceeding requests. You can increase this limit by changing the max requests in the HDRP asset" every frame.

    Is there a way to suppress these warnings? Or am I being naive that setting a lower maxShadowRequests should work as a performance improvement?
     
  2. dorusoftware

    dorusoftware

    Joined:
    Jul 5, 2012
    Posts:
    67
    Did you managed to figure out how to fix this issue?
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    3,211
    No, I stopped changing this value last year after making this post, as I didn't find a fix. I haven't gone back again after upgrading to HDRP 7, so I don't know for sure if this is still an issue. I assume you're getting this as well? What version of HDRP are you using?
     
unityunity