Search Issue Tracker
By Design
Votes
1
Found in
2017.4
2018.4
2019.2
2019.3
2019.3.0b3
2020.1
Issue ID
1185856
Regression
No
SaveScene is triggered on starting play mode even if the scene is not dirtied
To reproduce:
1. Open attached project
2. Open Project Settings, select "Editor" and enable "Enter Play Mode Options (Experimental)" setting. Keep "Reload Domain" and "Reload Scene" unticked.
3. Open Scene "Transform_30000"
4. Play and stop the scene a few times
Actual: SaveScene is called on each start of the play mode, no matter the state of the scene
Expected: On second and further launches, as the scene was not dirtied, it shouldn't spend time on saving a backup again
Reproduced in 2017.4.0f1, 2019.3.0b3, 2020.1.0a9
Comments (1)
-
Peter77
Oct 17, 2019 16:00
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
- UI Builder Data Path Source List starts flickering and scrolling when trying to select the last item in the list
- Crash on ProcessSceneBeforeExport when analyzing selected Addressables rules in a specific project
- HDR images are compressed incorrectly with default settings on Android Platform
- Crash with multiple stack traces when painting detail on Terrain with a highly detailed Prefab
- Crash on mono_object_handle_isinst_mbyref_raw when SerializedReference points to a struct implementing ISerializationCallbackReceiver whose first field is a UnityEngine.Object
Resolution Note:
The scene file is saved along with instanceID remapping information which is needed when reloading the scene when exiting Play mode. Closing it as a bug and moving it to our internal optimization backlog as we want to tacle this optimization as part of a larger refactoring. We will be using this bug reports test setup when picking up the task.