This question already has an answer here:
I got my Hungarian Student visa. Initially, it is limited to 30days until I pick up my residence card. On the visa it states: Valid for: Hungary Single entry Validity: 30 days.
They mentioned in the embassy that I shouldn't leave Hungary until I got my residence permit card.
Can I land in Germany, since I can't get any direct flights to Budapest?