Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location unknown : FPS loss when pausing/unpausing the game multiple times in the same game #217

Open
lucasmnt opened this issue Oct 7, 2022 · 0 comments

Comments

@lucasmnt
Copy link
Collaborator

lucasmnt commented Oct 7, 2022

While working on the fading in & out effects for the pause menu, and the countdown when launching a game, I found out that if one clicks on the pause button multiple times via the therapist UI in the same game, the frames per second go lower and lower as you pause/unpause the game.

In this first screencapture, you can see on the top right corner the FPS going lower and lower and the CPU latency going higher and higher as I click on pause button. I want to note that it isn't because I click rapidly on the button that this happens, indeed it also happens when you do this much slower.

BugFPSLOSS

The problem also seems to get "fixed" when you quit the game to launch another one. In this second screencapture, top right corner, you can the the FPS / lacency getting back to normal when I quit. If you don't quit the game, the FPS will stay locked higher, the higher you go.

BugFPSLOSS2

Firstly, we will need to figure out where is this problem coming from, and then we will be able to decide what to do to resolve the issue.

@lucasmnt lucasmnt changed the title FPS loss when pausing/unpausing the game multiple times in the same game Location unknown : FPS loss when pausing/unpausing the game multiple times in the same game Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant