Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

10.0.0-preview.26

Issue ID

1286641

Regression

No

Shadow Bias values are not converted from Builtin to URP, "Use Pipeline Settings" is set instead

Package: Scriptable Render Pipeline Universal

-

To reproduce:
1. Create a new project in Builtin;
2. Add Directional, Spot Lights to the scene (also happens with Point Lights in this PR: https://github.com/Unity-Technologies/Graphics/pull/1616);
3. Change Realtime Shadow Bias and Normal Bias values to anything else;
4. Convert project to URP.

Expected result: Shadow Bias values have their equivalent in URP
Actual result: Shadow Bias is set to "Use Pipeline Settings" instead. When you set it to "Custom", Bias values are set to default 1.

Reproduced with 10.0.0-preview.26, master branch

  1. Resolution Note:

    Did a bit investigation. Seems like we do no create UniversalAdditionalLightData until there is actual need of it. It means we can not really know if the light was created with builtin or URP. On top of that we also do not have any upgradability functionality yet.

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.