I have an issue with contour lines I generate from a digital elevation model (DEM). Even though I created them correctly, at the end of the image, half a meter before the desired area, the contour line gets cut off.
Contour (Spatial Analyst)—ArcGIS Pro | Documentation
did you specify an extent and snap raster?
see the paragraphs just above the Parameters section of the link for comments on what might be happening