diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index c2f934fdbb7..cf64167a758 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -722,6 +722,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed unitialized ray tracing resources when using non-default HDRP asset (case 1259467). - Fixed overused the atlas for Animated/Render Target Cookies (1259930). - Fixed sky asserts with XR multipass +- Fixed for area light not updating baked light result when modifying with gizmo. ### Changed - Improve MIP selection for decals on Transparents diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs index 0b4c75b283f..1cb92f331cd 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs @@ -2832,6 +2832,10 @@ void UpdateShapeSize() // Force to clamp the shape if we changed the type of the light shapeWidth = m_ShapeWidth; shapeHeight = m_ShapeHeight; + +#if UNITY_EDITOR + legacyLight.areaSize = new Vector2(shapeWidth, shapeHeight); +#endif } ///