Error: Redefinition of '_CameraDepthTexture'

I’m trying to access the camera’s depth texture by _CameraDepthTexture but I keep getting this error:

redefinition of ‘_CameraDepthTexture’.

I have found no solution for this as of yet.

Can you help me resolve this issue?