diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 3bd45d2c6b3..4bf8f0c53e2 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -105,6 +105,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed wizard DXR setup on non-DXR compatible devices. - Fixed Custom Post Processes affecting preview cameras. - Fixed issue with lens distortion breaking rendering. +- Fixed save popup appearing twice due to HDRP wizard. ### Changed - Preparation pass for RTSSShadows to be supported by render graph. diff --git a/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs b/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs index b8c9767b20f..52a24fb2619 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Wizard/HDWizard.Configuration.cs @@ -610,15 +610,11 @@ void ChangedFirstGraphicAPI(BuildTarget target) if (WillEditorUseFirstGraphicsAPI(target)) { if (EditorUtility.DisplayDialog("Changing editor graphics device", - "You've changed the active graphics API. This requires a restart of the Editor. After restarting finish fixing DXR configuration by launching the wizard again.", + "You've changed the active graphics API. This requires a restart of the Editor. After restarting, finish fixing DXR configuration by launching the wizard again.", "Restart Editor", "Not now")) { - if (EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo()) - { - HDProjectSettings.wizardNeedRestartAfterChangingToDX12 = false; - RequestCloseAndRelaunchWithCurrentArguments(); - GUIUtility.ExitGUI(); - } + HDProjectSettings.wizardNeedRestartAfterChangingToDX12 = false; + RequestCloseAndRelaunchWithCurrentArguments(); } else EditorApplication.quitting += () => HDProjectSettings.wizardNeedRestartAfterChangingToDX12 = false;