Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X
Votes
0
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
Issue ID
UUM-104716
Regression
No
"InvalidOperationException: Trying to SetRenderAttachment on a texture..." exception is thrown when using the depth back buffer as an input attachment in Renderer Feature on Vulkan Graphics API
Reproduction steps:
1. Open the attached “IN-100408.zip” project
2. Go to Edit > Project Settings > Player
3. Switch the Graphics API to Vulkan
4. Observe the Console
Expected result: No errors
Actual result: "InvalidOperationException: Trying to SetRenderAttachment on a texture that is already used through UseTexture/SetRenderAttachment.” errors
Reproducible with: 6000.0.48f1, 6000.1.2f1, 6000.2.0a10
Couldn’t test with: 2022.3.62f1 (“Error CS0234: The type or namespace name 'RenderGraphModule' does not exist in the namespace 'UnityEngine.Rendering'“)
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested
Notes:
- Does not reproduce with DX11 or DX12 Graphics API
- Can also just launch the attached project with -force-vulkan parameters to skip reproduction steps
- Errors are caused by trying to use the depth back buffer as an input attachment in the RenderWaterFeature.cs script
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment