Funkin icon indicating copy to clipboard operation
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)]

Open Tabpi opened this issue 9 months ago • 1 comments

  • [ ] 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

Tabpi avatar May 10 '24 19:05 Tabpi

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

NotHyper-474 avatar May 10 '24 19:05 NotHyper-474

Yep, me too fellas. I'm on Debian Sid

YahBoiiJose avatar May 11 '24 04:05 YahBoiiJose

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.

image "no", said qpwgraph

At this point, i have no idea what does this error mean.

HerrSnorre avatar May 11 '24 14:05 HerrSnorre

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.

Tabpi avatar May 11 '24 16:05 Tabpi

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)

HerrSnorre avatar May 11 '24 21:05 HerrSnorre

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)

Noobz4Life avatar May 12 '24 01:05 Noobz4Life

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 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

Tabpi avatar May 12 '24 01:05 Tabpi

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 ^^

Tabpi avatar May 12 '24 01:05 Tabpi

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

YahBoiiJose avatar May 12 '24 03:05 YahBoiiJose

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?

znemux avatar May 16 '24 18:05 znemux

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

znemux avatar May 16 '24 18:05 znemux