Cover will fail if it can't find a cover location. Because the agent isn't guaranteed to find a cover location you'll want to design your tree to be able to handle the case when it can't find cover. The cover location is determined by max raycast, the ray step, and available cover layers.