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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment