jacksondunstan / UnityNativeScripting

Unity Scripting in C++

Home Page:https://jacksondunstan.com/articles/3938

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug preventing the generation of bindings.

SeleDreams opened this issue · comments

I've closed my two previous issues to rewrite it in one that is more detailled.

Basically, I don't know why, when I add my custom functions to the json, the bindings generator seems to fail to be able to generate bindings. It seems to get stuck in a loop of waiting for code compilation.

I have made tests though that confirmed that all my code was built by modifying some code and trying some stuff in play mode..

I've made a video showing my issue.
I don't know what causes it, but it makes it really hard to do anything.
It seems like the bindings get built when I remove the AbstractDiscordCodeGenerator, however, while it is built it won't reference the CustomCPPFunctions either, which is a problem.

I honestly don't know what to do, since these issues are causing a net stop in my workflow preventing me from working on features I planned to implement to my project
https://youtu.be/9s4uTJNgLB4

The issue came from my modified Bindings.cs.