Another thought is maybe your AI character is spawning before the cave actor so it’s returning a null location on begin play, try adding a few seconds delay at the beginning of your begin play functionality to troubleshoot this, also print nodes off of the location call to verify the location being returned