Search Issue Tracker
Fixed
Votes
1
Found in
5.5.1p2
Issue ID
893042
Regression
No
[Linear] Animated material changes color in Play mode
Steps to reproduce:
1) Download attached project 'case_893042ShurikenReproCase' and open in Unity
2) Open scene 'test' and press Play
Note: Animated shuriken(middle one) shows wrong material's color, but Tint color is always 128, 0, 255, 255(check attached image 'Color.png')
3) Stop Play mode
4) In Hierarchy window, select Particle System (1) >> Window >> Animation
5) In Animation view, create and save animation
6) Press Record button
7) In Inspector, expand Particle Material component
8) Open Color picker and Delete current value of red color(R)(128) and insert the same value(128)
------To set keyframe
9) Drag playback head (the red line) to 0:30
10) Open Color picker and Delete current value of red color(R)(128) and insert the same value(128)
------------To set second keyframe
11) Close Animation view
12) Press Play
Note: Material changed color, even value of red(R) is the same as before animating
Expected result: Color of the material should be the same as before animating(Check attached image 'Color.png' (right shuriken))
Actual result: Color of the material in Play mode changed after animating
Note: Works fine with Gamma color space
Check attached video which shows 4-12 steps of reproduction
Reproduced with:
5.3.7p4, 5.4.5p1, 5.5.2p4, 5.6.0f2, 2017.1.0a5
Fixed in : 5.5.3p4, 5.6.1p1 and 2017.1.0b2
Comments (1)
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
- InvalidCastException is thrown when hovering over a Tilemap with a saved Random Brush pick containing empty cells
- [VisionOS] Animating a material property results in artifacts when the app mode is set to RealityKit and shader modifies the Vertex Shader
- "DirectoryNotFoundException" is thrown and Shader Graph does not open when opening a .shadegraph from a long path
- "Undo: Already found nextRootTransform, but with different state cached" error thrown when undoing changes made to the Hierarchy using a script
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
Potaski
Jul 26, 2017 05:12
This is still not fixed. RGB Value are correctly set in linear mode. But alpha is also converted to linear space when set to material, which is wrong. The alpha value is always linear value.
Reproduced in 5.6.1p2 and onwards.