Search Issue Tracker
Fixed
Votes
0
Found in
2022.2.2f1
2022.3.40f1
6000.0.13f1
6000.1.0a7
6000.2.0a1
7000.0.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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-49399