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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
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".