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
- Sprite Atlas remains loaded in memory after scene change or unloading assets
- Decompressing a DeflateStream under IL2CPP misses a few bytes
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Infinite inertial tensor rotation values are not discarded (both AB and RB)
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