Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
3
Found in
2019.3
2019.3.0f4
2020.1
Issue ID
1210702
Regression
Yes
[Shadergraph] Closing tabs causes shadergraph windows docked to the same section to run very slowly until unity is restarted
Problem reproduces in every version of the engine back to 2018.
Problem reproduces in 2020.1 on SRP master (commit 8823d0532c) but will not slow down as much (and requires more tabs closed to notice the effect) due to optimizations made to shadergraph.
Problem seems to be exclusive to shadergraph. VFX graph was tested and the bug did not reproduce.
Problem is exacerbated in perceived frequency in 2019.3 and above due to the fact that shadergraphs now automatically dock themselves when you open them.
Repro steps:
1. Use the default layout (may not be necessary but it is what I am using)
2. Repeatedly open/dock tabs to the main section where the scene and game tabs are, and close them. Close at least 10 tabs this way. Easiest way to do this is make a bunch of new shadergraphs and open all of them (on 2019.3) and then close all the tabs (via right click). In versions before 2019.3 you'll have to dock them before closing them. Alternatively, you can close the "game" tab and repeatedly open it by going to window -> general -> game and close it again.
3. Open the attached shadergraph and make sure it's docked to the same section.
Expected result: the shadergraph runs smoothly.
Actual result: the shadergraph runs extremely slowly.
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2020.1):
Resolve issue where closing docked tabs could cause Unity to slow down over time.
Verified with 2020.1.a20.
Resolution Note (fix version 2019.3):
Resolve issue where closing docked tabs could cause Unity to slow down over time.
2019.3.0f6 (c707216aa6c0)