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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Resolution Note:
We will not support the backwards compatibility with the internal namespace.