Ahoy!
I'm trying to get a function by its ID through the GetFunctionById method. If I step into the method everything seems to be in order with the function ID I provide because it hits this line:
return scriptFunctions[funcId];
So my assumption is then (and correct me if I'm wrong) that the function ID is valid and should return a valid asIScriptFunction object?
This isn't the case though, as that line returns a null object even though its within the bounds of the scriptFunctions array.
Is this how it should behave?
Thanks