[.NET] Need help with my port of NativeUI

I recently started to attempt a port of NativeUI to use CitizenFX instead of scripthook. I have it compiling, set as a reference in my own script, and I copied NativeUI.dll and NativeUI.pdb into citizen/clr2/lib/mono. But if i actually use any of NativeUIs methods my script fails to initialize. Would appreciate if someone could help me figure out what’s causing the issue.

One thing that may be causing this, is the class BigMessageThread : BaseScript within NativeUI. I haven’t tried implementing multiple BaseScript classes within the same resource before so maybe there’s an extra step im missing?

Any help would be greatly appreciated.

Also any advice on how to debug it would be helpful :stuck_out_tongue: