- Home /
get_isActiveAndEnabled can only be called from the main thread
I am getting the above error when trying to change the value of a field on the screen.
This occurs when the change is being made from within a method that is part of a callback from a plugin.
I have created a class that extends a Java interface and instantiate it. This is passed to the plugin which then calls back to Unity when a certain events happen.
How can I solve this error?
Comment