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
- Radio Button is squished or selection indicator is off center in Play mode when it's scaled down
- Particle System Renderer icon is missing in Animation window > Add Property context menu
- [Android] Legacy, TMP and UI Toolkit Input Field language toggle to some non-latin alphabet languages does not work with external keyboard
- Inconsistent “Remove property” behavior when removing child properties in Animator window
- Scene View Camera overlay preview goes out of Scene View bounds when the Scene View is resized vertically
Resolution Note:
We will not support the backwards compatibility with the internal namespace.