Set Game Paused returns incorrect value when the game is already paused. According to the
tooltip on the Return Value (reads: Whether the game was successfully set paused/unpaused) it is expected to only return True if the Set Game Paused value has had a state change.
1. Open the attached test project
2. Back in the editor,* PIE*
3. Slowly press the 1-key several times (see screenshot for BP setup or open BP_Actor01)
Results: The Return value will display True the first time the 1-key is pressed but it will continue to display True even though the nodes status didn't change
Expected: For the Return value will display True the first time the 1-key is pressed but then display False each time it is pressed afterwards. Try running the same test but using the 2-key to unpause and see the expected behavior.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40544 in the post.
| 0 |
| Component | UE - Gameplay |
|---|---|
| Affects Versions | 4.14.3, 4.16 |
| Target Fix | 4.16 |
| Fix Commit | 3352299 |
|---|---|
| Main Commit | 3358685 |
| Created | Jan 12, 2017 |
|---|---|
| Resolved | Mar 17, 2017 |
| Updated | Apr 27, 2018 |
| 3130 - projectgheist |