Increasingly worsening frame dips when 2D lights move
When lights move on the scene, they increasingly take more frame time to render, with no changes to the scene beyond the lights’ movement. It seems somewhat indicative of a memory leak. The issue does not happen if the lights don’t move.
As showcased in the video, turning off the movement of the light objects eliminates the issue entirely.
Link to the project
Link to the video footage of the issue
1 Like
Hello @sonic507d
Thank you for the project, I was easily able to reproduce the issue.
We’re pushing an improvement in the calculation of the light collisions: Improve 2D lights collision calculation for better performance by ClementPasteau · Pull Request #8535 · 4ian/GDevelop · GitHub
It will be available in the next release
2 Likes