Search Issue Tracker

Fix In Review for 13.x.x

Votes

0

Found in [Package]

12.0.0

Issue ID

1366097

Regression

No

[URP] Built-in to URP Render Pipeline Converter fails as cascade levels don't map 1:1

Package: Scriptable Render Pipeline Universal

-

How to reproduce:

1. Create a new 3D template project
2. Open Package Manager and Import Adaptive Performance package
3. Download Environment Sample from this package
4. Import Universal RP in Package manager
5. Click Window -> Rendering -> Render Pipeline Converter
6. Change "Convert Built-in to 2D (URP)" to "Built-in to URP"
7. Click Initialize Converter button at the bottom left corner of the window
8. Once it is done click on "Convert Assets"

Expected results: Assets are converted successfully
Actual result: converter gets stuck with an error "ArgumentException: Value (0) needs to be between 1 and 4.
at UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset.set_shadowCascadeCount (System.Int32 value) [0x00031] in /Users/ieva/Desktop/CovertProjectTest/Library/PackageCache/com.unity.render-pipelines.universal@12.0.0/Runtime/Data/UniversalRenderPipelineAsset.cs:769 ..."

Reproducible with: 2021.2.0b6(12.0.0), 2022.1.0a7(12.0.0)
Could not test with: 2019.4.29f1, 2020.3.15f1, 2021.1.16f1, 2021.2.0a21(Converter window was not yet available)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.