Error Help

Hi all i have 2 errors I’m trying to work out.

Blueprint Runtime Error: “Accessed None trying to read (real) property CallFunc_Array_Get_Item in not an UClass”. Node: Branch Graph: GetClosestActor Function: Get Closest Actor Blueprint: Interaction_Component

Blueprint Runtime Error: “Accessed None trying to read (real) property CallFunc_Array_Get_Item in not an UClass”. Node: Set Distance-Local Graph: GetClosestActor Function: Get Closest Actor Blueprint: Interaction_Component

I understand the error is in the BP_Interactaction_Component file
I found a few ClosestActor’s with bad connections i fixed.

But the error still comes up at end of Level?

How are you populating the array used by find nearest actor? Is it a sphere/box trace or a get all actors of class or something? Either way, it kinda sounds like the array might be empty. Before using the Find Nearest Actor node, try checking if the length of array you’re feeding it is >0, and branch to a print string saying “no actors found” or some such from false.