Search Issue Tracker
Fixed in 2022.3.51f1
Fixed in future release
Votes
0
Found in
2022.2.2f1
2022.3.40f1
6000.0.13f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-77183
Regression
Yes
Docked Shader Graph window loses unsaved changes when resetting all layouts
Steps to reproduce:
- Open a URP Unity project
- Create a new Shader Graph asset in your assets via Create > Shader Graph > URP > Lit Shader Graph
- Open your new Shader Graph asset by double clicking on it
- Make sure the Shader Graph window is docked in the Editor and not floating
- Make some visible changes in the asset without saving (e.g. add a new float property or create a new node)
- In the top right of the editor, press the layout drop-down and click 'Reset All Layouts'
- Press 'Continue' on the pop-up
Actual results: The layout of the editor is reset and all unsaved changes for the Shader Graph Asset are lost.
Expected results: One of two results is expected:
- An 'Unsaved Changes Detected' pop-up is given to the user before the layout is reset, with the user having the usual option of being able to 'Save' or 'Discard'. This is how it was for Shader Graph before the FAV.
- The layout is reset, however the user can re-open the Shader Graph Asset and all their unsaved changes will have been persisted. This is how it works in VFX Graph and UI Toolkit.
Reproducible with versions:
- 6000.0.13f1
- 2022.3.40f1
- 2022.2.2f1
Not reproducible with versions:
- 2022.2.1f1
- 2021.3.40f1
Can’t test with versions: -
Tested on (OS): Windows 10/11
Notes: -
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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
Resolution Note (fix version 2022.3.51f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-49399
Resolution Note (fix version future release):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-49399