Millz
Millz
Is there a way to do this dynamically, as in, its agnostic with the return type and the params
Thanks for the quick reply! > What is the console output when running? ``` 12:15:28.683 [JDA MainWS-ReadThread] ERROR net.dv8tion.jda.api.JDA - One of the EventListeners had an uncaught exception java.lang.IllegalStateException: null...
You're probably running this code too early; you're trying to create a game object at the same time that the scene is changing by doing it in Load() before Internal_ActiveSceneChanged()...
As I said, `Load()` is too early to be making UnityEngine calls, try using `Awake()` or `Start()`
> > As I said, `Load()` is too early to be making UnityEngine calls, try using `Awake()` or `Start()` > > How would that work? This is il2cpp in .NET...
In the project where you include `openvr.h` you should define `OPENVR_BUILD_STATIC`. This should stop the header from trying to dynamically import/export static stuff.