"Cast to" Node failing inside of my Function Library BP

You have not connected World Context Object, therefore it is null.

Connect World Context Object to the function parameters and have function callers pass in a UObject derivative (usually a reference to self)