Coolant loss and subsequent overheating is THE bane of bmw's. It begins between 60k-80k and either its caught and fixed, or it overheats once and the head warps and doesn't run right after.
The cooling system relies on lots of plastic to keep the weight down-- the integrated radiator/overflow, L-pipes off the engine, and various fittings are all black plastic. If you buy used, it's the first thing a savvy bmw hobbyist checks.
Usually the block doesn't warp, just the head--- so getting the head shaved is all it takes. However, the gasket can be hard to set just right (there's a tool for it) and if you mess up the cam/sprocket angle there's a tool needed for that too.
That said, watch your coolant level OFTEN until this is found and fixed. And when the problem is found, I would advise to replace ALL of the plastic parts--- radiator, engine coolant fittings, heater coolant fittings. Then you'll be good for another 60k-80k.
they can be fantastic cars but not without their quirks.