Replaced Unity's Invoke call with methodinfo.invoke