Not to scare you, but I have a riding buddy whose 2018 was bought back by BMW Motorrad due to that fault. Was in the BMW dealer workshop 6 or 7 times. They tried software a few times and other fixes. I wonder if it had an intermittent wiring harness issue. Hopefully your fuel pump will fix it up.