Funkin
Funkin copied to clipboard
Compiling help: [Game compiles but crashes after loading. Never gets to title screen. / source/funkin/modding/PolymodErrorHandler.hx:84: [ERROR] Your Lime/OpenFL configuration is using custom asset libraries, and you provided frameworkParams in Polymod.init(), but we couldn't find a match for this asset library: (vlc)]
- [ ] Windows
- [ ] Mac
- [X] Linux
- [ ] HTML5
Please describe your issue. Provide extensive detail and images if possible.
I saw some people on MacOS with a similar issue solve it by running from terminal, this did not work for me. The game does compile but does not get any further than the loading screen, where it fades to black and exits. It's output is as follows.
https://pastebin.com/p864bFU9
Same here. I thought it was an error only in my end 'cause I had to compile their lime myself, but now I see it's not that. I'm in Ubuntu WSL2
Yep, me too fellas. I'm on Debian Sid
Same here. On Arch.
I thought the problem was that VLC was not installed, but it is! I searched for VLC on haxelib and installed hxvlc, but nothing happened.
Maybe it's something with Pipewire, as my last brain cell suggested.
"no", said qpwgraph
At this point, i have no idea what does this error mean.
I thought the problem was that VLC was not installed, but it is! I searched for VLC on haxelib and installed hxvlc, but nothing happened.
Same.
At this point, i have no idea what does this error mean.
Yeah same, It seems to be a polymod issue based on the logs it tries to produce. It looks like the crash reporter also throws an error, not like its supposed to tho. xd
I'm completely lost as to what to do at this point. It seems to only affect linux and without knowing haxe I don't think there's much I can do other than wait for the devs to fix it, which I'm worried could take a while, also abt that they might just not care enough about the platform to fix it.
I noticed something.
Compiling with haxelib run lime test html5
(or lime test html5
) makes the game run "natively" in the web browser.
So maybe the problem isn't with compiling the game, but with the executable itself. (i am not sure, i don't have any experience with Hexa)
You can type haxelib git hxCodec https://github.com/FunkinCrew/hxCodec
into the terminal and it fixes it (presumably the commit they install with in hmm.json is broken on Linux for whatever reason)
I noticed something. Compiling with
haxelib run lime test html5
(orlime test html5
) makes the game run "natively" in the web browser. So maybe the problem isn't with compiling the game, but with the executable itself. (i am not sure, i don't have any experience with Haxe)
unrelated but.. itch version ate all my ram and made my computer lock up, idek how 😭 also I wanted to run it natively because the web version is capped at 60fps and looks stuttery to me
You can type haxelib git hxCodec https://github.com/FunkinCrew/hxCodec into the terminal and it fixes it (presumably the commit they install with in hmm.json is broken on Linux for whatever reason)
Fixed it for me as well!! tysmmm ^^
You can type haxelib git hxCodec https://github.com/FunkinCrew/hxCodec into the terminal and it fixes it (presumably the commit they install with in hmm.json is broken on Linux for whatever reason)
Fixed it for me as well!! tysmmm ^^
Real
You can type
haxelib git hxCodec https://github.com/FunkinCrew/hxCodec
into the terminal and it fixes it (presumably the commit they install with in hmm.json is broken on Linux for whatever reason)
I did that command, lime rebuild linux, then lime build linux -release, same issue. Is there something I'm missing?
I tried copying hxCodec from haxelib folder (where it downloaded) to .haxelib but I get this error:
ERROR source/funkin/modding/PolymodHandler.hx:294: characters 7-24
294 | coreAssetRedirect: CORE_FOLDER,
| ^^^^^^^^^^^^^^^^^
| { coreAssetRedirect : Null<String>, assetLibraryPaths : haxe.ds.Map<String, String> } has extra field coreAssetRedirect