# Unreal Engine 4.13 freezes when trying to create a pause menu

**URL:** <https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430>\
**Category:** Blueprint\
**Tags:** unreal-engine, crash, Blueprint, question\
**Created:** [September 14, 2016, 3:29pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430 "2016-09-14T15:29:13Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 14, 2016, 3:29pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/1 "2016-09-14T15:29:13Z")

</div>

I am quite new to Unreal Engine and game programming in general and I am trying to make a pause menu in my game based on the tutorial [here](https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/1/index.html), but without the main menu. I followed all the instructions that had to do with the pause menu and replaced going to the main menu when I click on the quit button with the quit game block. I don’t see any errors in what I have programed, yet it freezes when I press the button to pause the game. It could be that it is because I am trying to do it on my laptop, but it doesn’t seem to be that big of a process that it would cause the engine to freeze.  
If you want a video of what happens it’s [here][2]. My laptop is a HP Pavilion 13-a232nd, if that is important. If any more information is needed, please ask.

[2]:

---

<div class="post-metadata">

**Author:** ![VictorBurgos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/victorburgos/32/1008648_2.png) [@VictorBurgos](https://forums.unrealengine.com/u/VictorBurgos)\
**Post date:** [September 14, 2016, 4:09pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/2 "2016-09-14T16:09:01Z")

</div>

Can you add screenshots of your actual BP implementation please?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [September 14, 2016, 8:57pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/3 "2016-09-14T20:57:07Z")

</div>

Hey -

A screenshot of what your setup looks like would help in understanding what’s going on. The steps for the pause menu in the tutorial worked to pause/unpause the game in my test project. Something to remember, if you’re using the Set Game Paused node to pause the game, you’ll also want to add Set Input Mode UI Only to give your pause menu UI input controls. Then inside the UI you need to have a second instance of the Set Game Paused node to unpause the game and Set Input Mode Game Only (or Set Input Mode Game and UI) to give input back to the game.

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 15, 2016, 10:23am UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/4 "2016-09-15T10:23:14Z")

</div>

![107084-2016-09-15+12_13_00-new+notification.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/9/bb91ff9a21ec4f0fd8e5a7b06900373dfc59c1a3.png)

 ![107085-2016-09-15+12_14_01-new+notification.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/0/c60315f915f2c869aaab88d4efb6893f77ba9499.png)

 ![107086-2016-09-15+12_15_45-new+notification.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/8/1286b605fd6da44e091ade71d0515f44745c6bef.png)

Is that enough or should I give more of the ThirdPersonCharacter event graph?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 15, 2016, 10:26am UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/5 "2016-09-15T10:26:40Z")

</div>

I followed those steps in the tutorial and that isn’t the problem. the problem is that when I press the button that is supposed to pause the game, it pauses it and then the entire engine freezes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [September 15, 2016, 2:37pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/6 "2016-09-15T14:37:04Z")

</div>

The editor freezing when pause is enabled is expected. Are you referring to the increase of memory usage when paused? If so, I do not see this behavior when paused on my end. Could you provide a sample project that shows the exact issue you’re having along with your DXDiag for additional information.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 15, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/7 "2016-09-15T15:11:18Z")

</div>

I am quite new to this engine so I don’t know how to do either of those things.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [September 15, 2016, 3:27pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/8 "2016-09-15T15:27:08Z")

</div>

To send a sample project you can simply take the project you’re working with and remove everything from the project folder except fro Config, Content, Source folders and the .sln and .uproject files. Then zip the folder and add as an attachment to your post.

To get the DXDiag you can type DXDiag into the Windows Explorer search bar and run the .exe if you click the Save All Information button it will produce a .txt file that you can add as an attachment

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 15, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/9 "2016-09-15T16:19:53Z")

</div>

DXDiag file

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 15, 2016, 4:23pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/10 "2016-09-15T16:23:05Z")

</div>

There seems to be a problem with uploading the sample project. Is there somewhere I can send it to?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 21, 2016, 9:17am UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/11 "2016-09-21T09:17:27Z")

</div>

I’m sorry for the delay but [here](https://drive.google.com/open?id=0ByyXZDFvtBUmVjBqOU1WR240a0E) is the sample project.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [September 21, 2016, 4:39pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/12 "2016-09-21T16:39:58Z")

</div>

I tested the sample project you provided and I now understand what you mean about the editor freezing. However when I create a widget and copy the setup for your pause execution into a new project, the freeze issue does not occur. Are you able to reproduce this in a new project on your end? If so, could you provide the steps taken from project creation until the editor freezes?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 21, 2016, 5:43pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/13 "2016-09-21T17:43:36Z")

</div>

I was unable to reproduce the problem in a new project, but I did not remake everything in the original project, only the things needed when making the pause menu based on the tutorial in the ue4 docs, so the problem could be caused by another blueprint in the same project.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [September 22, 2016, 1:38pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/14 "2016-09-22T13:38:25Z")

</div>

Hey -

I was able to determine the cause of the freeze you’re experiencing. The behavior comes from setting the Tick Interval in your Game Mode blueprint to something non-zero. If you reset this to 0.0 then you should be able to pause/unpause the game.

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8a7cdbb1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8a7cdbb1](https://forums.unrealengine.com/u/anonymous_user_c8a7cdbb1)\
**Post date:** [September 22, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-13-freezes-when-trying-to-create-a-pause-menu/370430/15 "2016-09-22T15:11:36Z")

</div>

Thank you so much. I don’t think I don’t think i would have ever caught that.
