Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X
Votes
1
Found in
2022.3.46f1
6000.0.19f1
Issue ID
UUM-79681
Regression
No
HDR color values set with MaterialPropertBlock.SetColor are incorrect when using Linear Color Space
Steps to reproduce:
1. Open the “BugCheck” project
2. Open the “MPB_Test” scene
3. Enter Play Mode
4. Open the Frame Debugger Window
5. Open the “DrawOpaqueObjects” → “RenderLoop.Draw” fields
6. Select the “Draw Mesh Cube_Material”
7. Open the “Vectors” Tab in the Frame Debugger
8. Observe the “_HDRColor” vector
9. Observe the “_HDRColor” vector of “Draw Mesh Cube_MPB”
Expected result: The “_HDRColor” vectors have the same values on both cubes
Actual result: The “Draw Mesh Cube_MPB” GameObject has much higher values of “_HDRColor”
Reproducible in: 2022.3.46f1, 6000.0.19f1
Couldn’t test with: 2021.3.43f1 (Frame Debugger has no Vectors Field)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
kz_kizaki
Sep 18, 2024 03:12
It is not only MaterialPropertyBlock.SetColor, values that setting color with AnimationClip to HDRColor also is incorrect.