Search Issue Tracker

Fixed in 13.0.0

Votes

1

Found in [Package]

10.7.0

Issue ID

1372588

Regression

No

[HDRP] Error switching light from directional to tube area

Package: Scriptable Render Pipeline HD

-

Steps to reproduce:
- Set a light type to "Area" and shape to "Tube"
- Change the type to "Directional"
- Change back to "Area"

Expected:
- Light type is set to "Area".

Result:
- Light type stays "Directional" and the following error is thrown :

Set Light Unit 'Lumen' to a DirectionalLight is not allowed, only Lux are supported.
UnityEditor.EditorGUI/PopupCallbackInfo:SetEnumValueDelegate (object,string[],int)

Reproduces with:
HDRP 10.7.0 & master branch

Notes:
- It's possible to do Directional > Point > Area (tube), but not directly Directional > Area (tube)
- Directional to other area light shapes works
- Ctrl+Z after switching from Area (tube) to Directional will effectively switch back to Area (tube) light.

Add comment

Log in to post comment