I've been getting this intermittently on my 335i too.
Dealer diagnosed it down to a vehicle dynamics initialisation fault. Got to do with the m-adaptive suspension.
On my car it usually only happens when the DEC is out of comfort. Either in sport, sport+ or even Eco-pro.
The first two times they performed a complete re-initialisation but after a day or two the problem would recur. So I'm now due for some sensor replacement. Don't know which exactly as I'm waiting on a loaner from BMW before I take it in.