It's very unlikely to be a problem. Importantly, your visa is perfectly valid for Hungary too. Showing up somewhere completely different and not going to the country that issued the visa might be a problem (see Should my first trip be to the country which issued my Schengen Visa? and Can I use my Schengen visa for a completely different purpose and entry point?) but if you went to Germany on a German visa and did not overstay, I doubt any consulate would care about the point of exit.
2 of 2
replaced http://travel.stackexchange.com/ with https://travel.stackexchange.com/
Relaxed
- 113.3k
- 10
- 244
- 421