I've just installed GMLive, and trying to get it working. I was able to do so by including the following code at the start of my draw event. All well and good.
if (live_call()) return live_result;
However, I'm trying to do the same for function within a script by adding the above line as the first line called in my function, and getting the following error in the console whenever the function is called in the game:
Runtime error: [error] Couldn't find any instances of null. called from unknown[L5,c48]
This is true if I restart the game using the game_restart() function (this is how I get to a state to be able to run the function again in my game), which I thought might be the cause of my issue. However when I edit the function and save, I get the same error before calling it even the first time, or manually via a button press.
Of note, when I save the edited function, it seems to reload it correctly (displaying "Reloaded <function name>." in the output console).
Any ideas? Did I miss something simple?