Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.1.6f1
2019.2.0a1
2019.3.0a1
Issue ID
1170364
Regression
No
EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo() returns 'true' when 'Don't Save' is selected
How to reproduce:
1. Open user-submitted project (TMPCrashBug)
2. Wait for a scene saving prompt to pop-up
3. Select 'Don't Save'
Expected result: the follow-up pop-up window shows that EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo() returned 'false'
Actual result: the follow-up pop-up window shows that EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo() returned 'true'
Reproducible with: 2017.4.31f1, 2018.4.5f1, 2019.1.12f1, 2019.2.0f1, 2019.3.0a11
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
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
Resolution Note (fix version 2022.1):
Documentation fix - EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo() returns 'true' if "Save" or "Don't Save" are selected; if '"Cancel" is selected instead, 'false' is returned