In all likelihood, the node “get persistent object” returns a null for whatever reason. If this node works in other blueprints, simply create a function on your controller to provide it (considering player -> cast to myWhateverController -> controllerGetPersistentObj).
To check if it returns a null or not, use “is valid” node.