Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2023.2.0a21
Issue ID
UUM-41563
Regression
Yes
[URP][Metal] Command Buffer Blit not working when using BuiltinRenderTextureType enum
Steps
1. open project and open custom-vertex-buffer-blit-shader scene
2. enter playmode
3. press tab key to change SRP
- first press enables custom rendering effects
Expected: custom rendering effects are rendered in game view
Actual: no effects are seen because code which does the blit no longer works (only regular URP rendering is seen)
Repro: 2023.2.0a21 (MacOS only)
No repro: 2022.3.4f1
Workaround: change code to blit to the ScriptableRenderer.cameraData.renderer.cameraColorBuffer instead of BuiltinRenderTextureType enum
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
What Blit does under the hood, is binding the Source texture passed to the function as a texture to the shader performing the blit. The builtin target is the swapchain backbuffer (application "screen"), it is not possible in any graphics API to bind the application backbuffer as texture resource, so this in an invalid operation
Resolution Note (2023.2.X):
What Blit does under the hood, is binding the Source texture passed to the function as a texture to the shader performing the blit. The builtin target is the swapchain backbuffer (application "screen"), it is not possible in any graphics API to bind the application backbuffer as texture resource, so this in an invalid operation