ialex32x / unity-jsb

It brings Javascript runtime capability to Unity3D by integrating QuickJS.
MIT License
335 stars 41 forks source link

Bindings generating tons of errors on Unity 2021.3.26 #118

Open hacking-genie opened 9 months ago

hacking-genie commented 9 months ago

All I did was try to generate static bindings using the menu option, with all default settings. I fixed some errors around things like NiceIO not being available since it's an internal class, or other random things I don't remember off hand right now... but there's so many of these type argument errors that it's impossible to proceed.

Screenshot 2023-11-07 at 2 57 18 PM

I'm trying to compile for iOS in this case. Things work in the editor if I use reflect-binding, but I need static binds for iOS. Though I'm also open to other options.

hacking-genie commented 9 months ago

So I updated to the latest master, instead of using the latest release. It seems like bindings generate without errors, but now I have a new issue where modules are not being found at run time.

Screenshot 2023-11-08 at 2 19 00 PM