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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Resolution Note:
We will not support the backwards compatibility with the internal namespace.