GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

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

Open Nader-B10 opened this issue 1 year ago • 3 comments

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 avatar Jul 29 '24 17:07 Nader-B10

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.

AlexandreSi avatar Sep 02 '24 12:09 AlexandreSi