Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Add comment