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
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
Resolution Note:
We will not support the backwards compatibility with the internal namespace.