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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-49399