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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
Add comment