Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
8.0.1
Issue ID
1232472
Regression
No
[Shadergraph] Shadergraph softlocks when reloading shadergraph with updated subgraph Texture2D output
Bug reproduces on Master (commit 33cd9986fd tested)
Bug reproduces on 8.0.1 release
Bug does not reproduce on 7.3.1, likely due to lack of implementation on shadergraph reloading on subgraph changes.
Repro steps:
1. Open attached project
2. Open softlock.shadergraph and softlock.subgraph
3. in softlock.shadergraph, drag out the edge from the subgraph's texture2d output to a sample texture 2D node. Do not save the graph.
4. Switch to softlock.subgraph. Change the texture2D output slot to a vector1 output slot. Save the subgraph.
5. Switch to softlock.shadergraph. When it asks to reload, choose yes. Do not save the graph.
6. Switch back to softlock.subgraph. Change the second vector1 output slot (the one you changed from earlier) back to a texture2d slot. Save the subgraph.
7. Switch back to softlock.shadergraph. When it asks to reload, choose yes. Do not save the graph.
8. Drag the edge out from the subgraph's texture2d output to a sample texure 2D node again.
Expected result: no error is thrown, graph is not softlocked
Actual result: graph softlocks, error thrown
Note: this is worth looking into, as even though these are the only steps I found to make this bug happen, there may be alternate steps that will trigger the same bug.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- All newly created color markers of Gradient Editor get removed at once when trying to remove one of them
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
Add comment