FunkinCrew / Funkin

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

Crash Report: Unable to save stage files in the Stage Editor #3666

Open Keoiki opened 1 day ago

Keoiki commented 1 day ago

Issue Checklist

Platform

Itch.io (Downloadable Build) - Windows

Browser

None

Version

0.5.2

Description

Trying to save a stage force closes the game. This does not produce any error message/logs before the game closes.

Edit 1:

Does not happen on all stages as stages like Main Stage (Normal) and Philly Train (Normal & Erect) may work.

It seems like saving system is very unstable and prone to fatal failures.

Steps to Reproduce

  1. Open the stage editor and select any preset.
  2. Try to save the stage with either save button.

Crash logs

None available.

JustKolosaki commented 1 day ago

Aight I've fixed it, gonna do a PR a bit later after fixing a bit more bugs It didnt have any crash log is because of a recursion that happens infinitely, causing a memory leak. This was caused by a recursion generating new object data for every xml data, and every object data generation calls an xml generating function, so yeahhhh

Thanks for the report 👍