I’ve had the same kind of problem under different circumstances.
I “record” several streaming radio programs to listen to later. For a long time I tried recording directly to a watched “Radio” directory, and a lot of the time, Roon thought the track was empty, or truncated by several minutes.
Found the thread: Files ripped with ffmpeg are sometimes ignored