Somewhat more important, but as someone with decent Japanese who knows about pitch accent but can barely hear the difference in real time, and never actively learned it except for the few well known examples like bridge/chopstick, I don't think it matters all that much. Yes, you'll sound foreign. But you'll be understood nevertheless, in the vast majority of cases.
Speaking of bridge/chopsticks, I created a video to try to spot the difference my self a couple of months ago:
https://imgur.com/KJXanqc