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

FPS drops significantly from 60 to 15 and continues to drop as time progresses. #6816

Open
1 task done
Nader-B10 opened this issue Jul 29, 2024 · 3 comments
Open
1 task done

Comments

@Nader-B10
Copy link

Nader-B10 commented Jul 29, 2024

Is there an existing issue for this?

Describe the bug

The problem is that the number of frames drops significantly from 60 at the beginning of the scene to 15 and continues to drop as time progresses.

It is very likely that the problem may be due to the slider or the mask behavior .

Screenshot 2024-07-29 195247

gdevelop-game.zip

Steps to reproduce

Open the attached project file and preview it and move the slider repeatedly up or down. You will notice within a few seconds that the number of frames begins to decrease and continues to decrease significantly.

GDevelop platform

Web

GDevelop version

5.4.205

Platform info

OS (e.g. Windows, Linux, macOS, Android, iOS)

OS Version (e.g. Windows 10, macOS 10.15)

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

No response

@Nader-B10 Nader-B10 changed the title FPS drops significantly from 60 at the beginning of the scene to 15 and continues to drop as time progresses. FPS drops significantly from 60 to 15 and continues to drop as time progresses. Jul 29, 2024
@Nader-B10
Copy link
Author

Nader-B10 commented Jul 29, 2024

After reviewing another game project (multiplayer) I was working on(windows version), I discovered that it was having the same problem, a significant drop in FPS over time to less than 20 FPS, even though it didn't have a slider or mask behavior :

https://drive.google.com/file/d/16KUc4cjYTu8ezPNPfKKrzi-o09826dWG/view

Screenshot 2024-07-29 204046

@Nader-B10
Copy link
Author

Ready to answer any questions or inquiries regarding the problem and provide more information if you need it.

@AlexandreSi
Copy link
Collaborator

AlexandreSi commented Sep 2, 2024

Hi @Nader-B10,
thanks for taking the time to report this issue.
I'm unable to reproduce the issue with the project you attached on my macOS.
To investigate the issue, you could open the developer tools, head to the Performance tab.

image

From there, you can record the game when the FPS has dropped and check from this screen if there is a step that looks longer then the others.

image

If you're not comfortable with reading this kind of graphs, you can save it and send it over.

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

2 participants