Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.0.54f1
6000.1.13f1
6000.2.0b12
6000.3.0a3
Issue ID
UUM-113061
Regression
No
HDRP ShaderGraph Color property gets overridden when it is named "EmissionColor"
Reproductions steps:
1. Open the attached “IN-109628.zip” project
2. Open the “Outdoors Scene”
3. From the Project Window, select the “Test.mat” Material
4. In the Inspector, find the “EmissionColor” property
5. Try to modify its color value
6. Observe the color and the Cube in the the Scene
Expected result: The “EmissionColor” property changes to whatever color was selected and remains both in Inspector and on GameObjects
Actual result: The "EmissionColor" exposed property reverts to a (255,255,255) white color
Reproducible with: 2023.1.0a1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b12, 6000.3.0a3
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Workaround: Change the property name in the ShaderGraph to not be exactly “EmissionColor”
Notes:
- This is likely due to "_EmissionColor" being an internal value that is used in the underlying shader
- Does not reproduce with URP or BuiltIn Shaders
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Hello.
We are aware, but there's nothing we can do about it for now. The property name 'EmissionColor' is a reserved name for legacy reasons. At some point when we deprecate BiRP, quirks like these can hopefully be resolved.
In the mean time, simply avoid using the property name.