FunkinCrew / Funkin

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

Bug Report: Crash on dreath during thorns erect/normal #2801

Open ChickenSwimmer2020 opened 3 months ago

ChickenSwimmer2020 commented 3 months ago

Describe the bug

game crashes due to an issue with FlxTrail.hx

To Reproduce

reset on thorns and restart

Expected behavior

song restart

Screenshots/Video

image_2024-06-13_231954802

Desktop

Hundrec commented 3 months ago

I'm resetting on Thorns fine after starting in both Freeplay and the Chart Editor. Did you use the chart editor before playing Thorns?

ChickenSwimmer2020 commented 3 months ago

no, i didn't touch the chart editor at all

GoombarioFan commented 3 months ago

I just tested this and got a crash myself. After removing all my mods and testing each of them one by one, I found that it was somehow the Cassette Girl port by VinceTheStick causing the crash to happen.

(Edited to correct the porter's name)

Hundrec commented 3 months ago

I just tested this and got a crash myself. After removing all my mods and testing each of them one by one, I found that it was somehow the Cassette Girl port by MongMong causing the crash to happen.

Interesting! Did you also get the same error with Thorns?

Question for the poster: Did you have anything in your mods folder?

GoombarioFan commented 3 months ago

Interesting! Did you also get the same error with Thorns?

Yes, I got it only on Thorns. I tested it on a couple of more songs, including Senpai and Roses but did not crash. Afterwards, I went on the Chart Editor and changed a random song's opponent to Spirit, reset and caused a crash. So somehow, it's related to Spirit specifically.

Hundrec commented 3 months ago

Got it

If it's just a problem with Spirit, then I'm pretty sure FlxTrail.hx handles Spirit's crossfading effect when he moves around

Weird that it only happens in a few cases!

vincethestick commented 2 months ago

I just tested this and got a crash myself. After removing all my mods and testing each of them one by one, I found that it was somehow the Cassette Girl port by VinceTheStick causing the crash to happen.

After some testing I found that the change character event scripts in the port was the culprit; after deleting the 'changecharactereventv2' folder thorns erect doesn't crash anymore. I also tested with a port of Zardy and Furnace Whitty which also had their own change character script files and caused thorns to crash. Idk why it's being funny with spirit specifically.