I’ve just noticed that plugins appear to have a run context issue. When you first load into Studio, the plugin will execute. Then when you run test mode, it’ll execute new instances of the plugin on both the client and the server. These are easy enough to prevent, but my issue is that the original execution of the plugin keeps the run context it started with.
What I mean is that the run context of the original plugin execution never changes, even if you enter test mode.
The issue with this is that, with no way to check the original plugin’s context level (because it doesn’t change), I can’t prevent the plugin from continuing to run in test mode.
Does anyone have any possible solutions for this? I have one in mind that I’ll post in a little while if it works.