Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.3.X, 6000.4.X
Votes
0
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
6000.4.0a1
6000.5.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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
Add comment