Search Issue Tracker
Feature Request
Votes
0
Found in [Package]
13.1.0
14.0.2
Issue ID
SGB-16
Regression
No
Different texture colours are not applied to Material instances when texture is unexposed in Shader Graph
How to reproduce:
1. Open the attached project (unexposed_texture_bug.zip)
2. Open scene Bug/bug
3. Press the Play button and observe the three Cube colours in the Game view
4. Press the Play button again to exit Play mode
5. In the Project window, under the Assets/Bug folder, double-click the "test" Shader Graph Asset
6. In the newly opened Shader Graph window, select the "texture(T2)" Property Node
7. In the Graph Inspector, uncheck the Exposed checkbox
8. Click "Save Asset" at the top of the Shader Graph window
9. Return to the Game view, press the Play button and observe the Cube colours
Expected result: the three Cubes have three different colours (red, green, and blue)
Actual result: the three Cubes have the same colour (blue)
Reproducible with: 10.7.0 (2020.3.23f1), 12.1.1 (2021.2.3f1), 13.1.0 (2022.1.0a15)
Could not test with: 7.7.1 (2019.4.33f1) (Shader Graph doesn't work after downgrading)
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 Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
As a recent design change to simplify property usage, the ability to mark properties as both "unexposed" and "per material" was removed - if a property is exposed it is expected to be "per material" and if not exposed it is expected to be "global".