I have been trying to execute the Cost Path as Polyline tool using both ArcMap 10.8 and ArcGIS Pro 2.5 with spatial analyst extension. I'm following the steps in this Esri blog to use Euclidean Distance with barriers to create the distance raster and the out-back direction raster.
The Euclidean Distance tool outputs the distance and out-back rasters as expected. However, when I run the Cost Path as Polyline tool, the tool executes successfully but with zero geometry. According to this post, I'm not the first to run into this issue. Why does the Cost Path as Polyline tool produce empty output?