Thank you for pointing out the fact that a function library is not an object in the game. That was the culprit