Bug while accessing depth buffer of the camera

How could we fix this issue?

Hi @yash_mehrotra,

You can enable the Depth Grabpass property on your active camera to enable access to the depth buffer (this wasn’t available when this project was authored):

Still I think there will be additional issues most likely, this is an older project and may require refactoring.