Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
5.7.2
Issue ID
1148858
Regression
No
[LWRP/HDRP] ShaderGraph shader is not updated when ShaderGraph subshader is modified
How to reproduce:
1. Open attached project "SubGraph.zip" and scene "New Scene"
2. In Project window, open "position_sinewave_subg" sub shader
3. In the "Shader Graph" window, remove the connection between "Transform" and "SubGraphOutputs" (the last connection to the right)
4. Press "Save Asset" button and close the "Shader Graph" window
5. In Project window, open "Test_Shader" shader
6. Observe "position_sinewave_subg" (sub) node
Expected result: the sub shader node is updated and the "position_sinewave_subg" preview is black
Actual result: the sub shader node is NOT updated and the "position_sinewave_subg" is shown in green/yellow/red colors
Additional notes:
After restarting Unity the "position_sinewave_subg" subshader in "Test_Shader" shader gets updated, only after "Save Asset" is pressed the proper result is seen (the proper result is that the Cube disappears due to "position_sinewave_subg" outputting 0,0,0,0)
Reproducible with: 2018.3.14f1, 2019.1.1f1, 2019.2.0a14, 2019.3.0a1
Could not test with: 2017.4 Shader Graph was not yet implemented
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
Add comment