FR 8385 then VY 6092 at Barcelona
Budapest → Barcelona → Venezia
Timetable, Barcelona time
18:00FR 8385 from Budapest at the gate
12:40VY 6092 to Venezia leaves the gate
18 h 40 apart on the timetable, overnight
VY 6092 leaves 18 h 40 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.