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
- VFX Graph Particles render black when using Baked GI in URP Unlit Shader Graph
- Crash on Unity::Joint::SetJointLocalActorFrames when changing connectedBody on a ConfigurableJoint
- WebGL player crashes on RuntimeError when using the Disk LTO code optimization
- All Animators previous animations are activated while transitioning when a second split-off transition overrides the first split-off transition
- Warning that external text editor path does not exist when manually selecting specific code editors such as VSCodium or TextEditor
Add comment