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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
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.