larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
162 stars 62 forks source link

Lime with no frameworkParams causes a crash #74

Closed Cheemsandfriends closed 2 years ago

Cheemsandfriends commented 2 years ago

Hello Eric, I wanted to present the problem before but better do it in the new version right? I have some problems with this in specific imagen

It gives me a null exception and calls these specific things. Do you know what may be? (And sorry for not telling before, I don't use VSCode to compile and the tutorial you gave me was confusing for me 😅)

Cheemsandfriends commented 2 years ago

Or I think it was what you requested me, If it isn't that then Idk srry

Cheemsandfriends commented 2 years ago

Nvm

Cheemsandfriends commented 2 years ago

The problem was the framework Params, but now it works

EliteMasterEric commented 2 years ago

So @Cheemsandfriends from the error log you gave me it seems like you were missing the framework parameters, which are necessary in Line projects that use multiple asset libraries.

The problem is that there's a null pointer exception being thrown RIGHT before the line that gracefully handed the error and provides you the proper error message, haha:

https://github.com/larsiusprime/polymod/blob/master/polymod/backends/LimeBackend.hx#L130

I'm going to reopen this issue then close it once I make a hotfix.

Cheemsandfriends commented 2 years ago

Well, At least I helped on something lol

EliteMasterEric commented 2 years ago

Fixed this.