FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.92k stars 2.26k forks source link

FPS drops and memory leaks in the chart editor #2654

Open Prod-42 opened 3 months ago

Prod-42 commented 3 months ago

If you are playing the game in a browser, what site are you playing it from?

What version of the game are you using? Look in the bottom left corner of the main menu. (ex: 0.2.7, 0.2.1, shit like that)

0.3.3

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

Just using the chart editor for a long time (It started to happen after 15 min of charting a song), opening and using the windows constantly (for example: saving the chart, opening the difficulty, metadata and the rest of the windows), changing the volume of the song, metronome or hitsounds, and copying and pasting the notes is enough to make the FPS to go down.

Please describe your issue. Provide extensive detail and images if possible.

I apologize in advance if the following text have any typo or it's difficult to understand, english is not my first language and I'm still learning.

While using the chart editor, the game performance starts to slow down after a few minutes of using it, fps starts dropping from 165fps to 60fps and memory starts leaking right after opening the chart editor for the first time. At the same time this happens on its own when I'm charting any song, using the windows to save the chart or changing the volume just makes it happen faster, it's quite annoying especially as it ruins your experience while charting with constant fps drops and possible crash due to poor performance.

I have a video showing how much the fps drops when opening any windows tab or audio options, alongside with the memory leaks, this was recorded in a modded build with a fps cap mod and others ( here is a picture of my mod folder), I also tried with a clean build to see if the problem still occurs and got the same result, I also tried to record it but the game crashed and I lost the video. If there's anything you need to see, tell me and I'll do it right away.

Side note: The video I recorded showing the problem exceed the limit so I uploaded it on this link of streamable for you to see.

https://github.com/FunkinCrew/Funkin/assets/85413903/51d19e3a-9bd9-4377-b1fd-b588c01edd3e

Captura de pantalla 2024-06-05 010050

biomseed commented 3 months ago

Maybe use this next time. Also, have you tried minimizing the game (Windows key + D)? I've had certain framerate issues for as long as I remember that that fixed.

amyspark-ng commented 3 months ago

Maybe use this next time. Also, have you tried minimizing the game (Windows key + D)? I've had certain framerate issues for as long as I remember that that fixed.

The link is broken

Prod-42 commented 3 months ago

Maybe use this next time. Also, have you tried minimizing the game (Windows key + D)? I've had certain framerate issues for as long as I remember that that fixed.

Thanks for the tip of the video! and also yeah I just tried that and it keeps happening even on this new update (0.4.0)

biomseed commented 3 months ago

Maybe use this next time. Also, have you tried minimizing the game (Windows key + D)? I've had certain framerate issues for as long as I remember that that fixed.

The link is broken

8mb.video is the site