I have a logic flow that will always return an error when it gets to the “Recenter Pawn” node. The Pawn is collecting the tiles in front, to the left and right sides, and directly below it on tick and storing those tiles in a map. When there is no tile in front of the pawn, the blueprint works as expected, but returns a million errors saying: "Accessed None trying to read property CallFunc_Map_Find_Value_2"
I’ve checked the logic to make sure it’s validating the tile to see if it is present, but it seems like no matter what I do I get this error.
The function producing the error:
Logic Flow Error posted by anonymous | blueprintUE | PasteBin For Unreal Engine
The function collecting the tiles for the map:
Collect Surrounding Tiles posted by anonymous | blueprintUE | PasteBin For Unreal Engine