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: Can't open folders on chart editor #3610

Open DW-Studios opened 6 days ago

DW-Studios commented 6 days ago

Issue Checklist

Platform

Itch.io (Downloadable Build) - Windows

Browser

None

Version

0.5.1

Description

When I go into the chart editor and want to do something like add the voices, want to open a chart, save a file or whatever I need to open the folders on my computer, the game crashes, I will leave a video as proof of this

https://github.com/user-attachments/assets/5a7edcea-8707-47c8-ba14-0c84e4f5cd71

Steps to Reproduce

See the video, it explains itself

Crash logs

The error does not leave any crash log

Hundrec commented 6 days ago

This provides more information regarding the issue in #3551

lemz1 commented 6 days ago

i've had that issue once too. Retarting the game fixed the issue. But I cant say if that works for everyone.

Maybe this is some weird windows issue?

JustKolosaki commented 6 days ago

I've had this issue a lot back when I was porting my Stage Editor and I thought it was just my pc. Good to know that there's others experiencing the same problem.

I honestly doubt this is a windows issue, as I don't think there was any major windows updates between the releases of 0.4.2 and the current version. Maybe a lime FileDialog bug?

lemz1 commented 5 days ago

after looking a bit, the vocals, instruments, etc. use haxe-ui's Dialogs class, which uses openfl FileReference stuff.

But i guess this means we need to look at either the openfl filereference stuff, or haxeui-flixel.haxe.ui.backend.OpenFileDialogImpl.hx

Ofcourse internally openfl.net.FileReference uses lime.ui.FileDialog, but maybe its just an issue with how openfl uses the filedialog.

I guess we'll need to do a bit more digging.

lemz1 commented 5 days ago

I kind of have the feeling it has something to do with lime.system.ThreadPool, but im note sure, which is why i want know if anyone knows how to reliably reproduce this bug.

Edit: It might not be a problem with ThreadPool. I tried everything like blocking threads, etc., but i just cant reproduce the same look.