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
- Project Browser Icons use the wrong Theme and Users are not shown any indication that process will be deferred when switching Editor Theme in Play Mode
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
- UIElements memory allocations grow when interacting with IMGUI custom Editor window
- AI Navigation Preferences are not indexed for Search and cannot be found when searching for them in the Preferences Search field
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.