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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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.