Search Issue Tracker


Fixed in 6000.0.0b15



Found in



Issue ID




[RG] Depth Of Field pass execution is failing on DX12 + Deferred which leads in black screen



*Steps to reproduce:*

1. Download attached project and open in Unity

2. Open scene Winter_Demo

3. In the Hierarchy, select the "PPtest" gameObject

4. In the Inspector, enable the Depth of Field PP effect

Observe: black screen and errors in the Console:

Render Graph execution error at pass 'Depth of Field - Compute CoC' (22)
InvalidOperationException: Trying to use a texture (_CameraDepthTexture) that was already released or not yet created. Make sure you declare it for reading in your pass or you don't read it before it's been written to at least once.
Render Graph Execution error

*Actual results:* Black Game view and errors in the Console

*Expected results:* No black Game view, no errors in the Console


*Reproduced with:*
2023.3.0b8, 2023.3.0b10, 6000.0.0b14

*Not reproduced with:*
2023.3.0a8, 2023.3.0a19, 2023.3.0b7


*Tested on (OS):* 

MacBook Pro (16-inch, 2021), CPU: Apple M1 Max, Memory: 64 GB, macOS: Ventura 13.3.1 (a) (22E772610a)
Windows 11 Pro; Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz (36 CPUs), ~3.0GHz; NVIDIA GeForce RTX 3080; 128 GB RAM

* Reproducible only when using DX12

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.