You need to add an “is valid” node to test if the ThirdPCam exists (probably best put after the player cast and before the sequence node). If the cam doesn’t exist go straight to the return node (you can clone it to not have to hook it all the way to the end of the function)
I’m guessing you are probably running this somewhere on a on tick event.