Search Issue Tracker
Fixed in 6.6.0
Votes
0
Found in [Package]
3.9.0-preview
Issue ID
1124635
Regression
No
[HDRP][3.9.0-preview] Light Brightness animation in timeline works in editor but not in player.
1. What happened
HDRP Light brighness is being animated correctly in editor but not when played in player.
2. How we can reproduce it using the example you attached
1 - Add a Light in a scene
2 - Create a timeline that references this light in an animation track
3- Go into record mode and add keys for the brighness using the inspector, make brighness vary.
4- Play in Editor: Light is animated correctly
5- Make a build of a player (ex: PC), then play: Light does not animate.
Notes:
The timeline seems to access the member displayLightIntensity which does not update the light component, the correct use was to use the accessor intensity which performs the light update. (btw this stored value is part of a set of members that should be private serialized instead of public)
There seems to be a workaround to force the update of the light but it is enclosed in #ifdef UNITY_EDITOR so this behavior seems expectted, yet wrong.
TimelineLightB
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
Add comment