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
- TextMeshPro Shader "Mask" field does not update in Inspector when changing value
- Changing URP settings when a Shader Graph is open throws errors and renders the opened Shader Graph Asset useless
- GameObject cannot be renamed when right clicked and a different Editor window is in focus
- Objects are cleared when preloading a Pool during startup functions with Domain Reload disabled
- The text underline partially disappears when the bold effect is applied with certain fonts in the UI Builder
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.