# Losing progress for accidently hitting the stop button

**URL:** <https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837>\
**Category:** Programming & Scripting\
**Tags:** savegame, Debugging, debug, unreal-engine, compile, play, editor, CPP, question\
**Created:** [June 25, 2023, 6:24am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837 "2023-06-25T06:24:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damien220](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damien220/32/626350_2.png) [@Damien220](https://forums.unrealengine.com/u/Damien220)\
**Post date:** [June 25, 2023, 6:24am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/1 "2023-06-25T06:24:28Z")

</div>

What ■■■■■■ me off, is thinking that hitting the play button when in editor, the game doesn’t save the progress, and then if i accidentally close the editor, all my work is lost, just because i forgot to hit the save button.  
It happened to me twice. I have a C++ project that i am opening in debug mode from visual studio, and while debugging the code ( by inserting a break point to stop the execution), i hit the stop button from VS which made the editor close, and when i re-opened it i found out that 2 hours worth of progress are lost because i did not hit the save button in the editor. I thought that hitting the play button in the editor would be enough to save everything.  
Wouldn’t it be better to apply this fix . I know there is an auto-saving mechanism available, which might be disturbing when working on a large project, which will make saving takes a long time).

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 25, 2023, 7:24am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/2 "2023-06-25T07:24:48Z")

</div>

You have to press save 🙂

Saving on play would be a very bad thing for many other people…

---

<div class="post-metadata">

**Author:** ![Damien220](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damien220/32/626350_2.png) [@Damien220](https://forums.unrealengine.com/u/Damien220)\
**Post date:** [June 25, 2023, 9:11am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/3 "2023-06-25T09:11:32Z")

</div>

Yeah i know that it is done this way so people won’t have to wait when pressing the play button in the editor. But losing progress is really frustrating. I wish there might be a method to prevent that.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 25, 2023, 9:13am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/4 "2023-06-25T09:13:32Z")

</div>

Autosave. It’s configurable

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/b/82b28a0576e341c5c9613ef3609c9d0e25229e20.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 25, 2023, 9:34am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/5 "2023-06-25T09:34:47Z")

</div>

Autosave is an ok option but even still it would not kick in this situation (thankfully). I’m guessing the autosave timer pauses during gameplay.

This is more of an unfortunate accident if anything. It’s logical that you wouldn’t want the project to save the state of the world during gameplay.

If you want to stop the debugging process and keep the editor open then you must use  
Debug =\> Detach all

 ![detach](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/3/6c33999b74056ca0bf51c9673f9c62d9538c7cd6.png)

---

<div class="post-metadata">

**Author:** ![Damien220](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damien220/32/626350_2.png) [@Damien220](https://forums.unrealengine.com/u/Damien220)\
**Post date:** [June 25, 2023, 10:10am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/6 "2023-06-25T10:10:09Z")

</div>

Thanks for the advice. This might be handy.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 25, 2023, 10:10am UTC](https://forums.unrealengine.com/t/losing-progress-for-accidently-hitting-the-stop-button/1209837/7 "2023-07-25T10:10:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
