Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
13.1.3
Issue ID
1387300
Regression
Yes
Error "cannot convert from <..>.RenderTargetHandle to <..>.RTHandle" appears when using URP's CopyDepthPass.Setup
Full title: Error "cannot convert from 'UnityEngine.Rendering.Universal.RenderTargetHandle' to 'UnityEngine.Rendering.RTHandle'" appears in the Console when using URP's CopyDepthPass.Setup
Reproduction steps:
1. Open the user's attached “urp-unistorm-2022.zip” project
Expected result: No errors in the Console
Actual result: Errors "cannot convert from 'UnityEngine.Rendering.Universal.RenderTargetHandle' to 'UnityEngine.Rendering.RTHandle'" appear in the Console
Reproducible with: 13.1.3 (2022.1.0b1), 13.1.6 (2022.1.0b10), 14.0.0 (2022.2.0a7)
Not reproducible with: 12.1.5 (2021.2.14f1), 13.1.1 (2022.1.0a16)
Could not test with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.30f1) (Error in the Console "error CS0246: The type or namespace name 'UniversalRendererData' could not be found (are you missing a using directive or an assembly reference?)")
Notes:
- As mentioned here: https://github.com/Unity-Technologies/Graphics/pull/5346 this change should be backwards compatible
Errors:
error CS1503: Argument 1: cannot convert from 'UnityEngine.Rendering.Universal.RenderTargetHandle' to 'UnityEngine.Rendering.RTHandle'
error CS1503: Argument 2: cannot convert from 'UnityEngine.Rendering.Universal.RenderTargetHandle' to 'UnityEngine.Rendering.RTHandle'
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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Resolution Note:
We will not support the backwards compatibility with the internal namespace.