SetGamePaused documentation states that it returns "whether the game was successfully paused/unpaused." This seems to imply that a return value of true means either the game was paused and was unpaused or was not paused and was successfully paused.
When called with a bool of false passed in while the game is paused, the game unpauses as expected, however the return value is false.
Result:
First True is printed followed by False on begin play
Expected:
According to documentation, True should be printed both times to indicate that the pause/unpause was successful each time SetGamePaused was called.
Head over to the existing Questions & Answers thread and let us know what's up.
| 0 |
| Component | UE - Gameplay |
|---|---|
| Affects Versions | 4.12.4 |
| Target Fix | 4.14 |
| Fix Commit | 3114118 |
|---|---|
| Main Commit | 3136620 |
| Created | Jul 6, 2016 |
|---|---|
| Resolved | Sep 6, 2016 |
| Updated | Apr 27, 2018 |