Hello, I have a tricky one on my hands if anyone could help. My e46 wants to start and die when I’ve already ran it for a while and the engine is heated up. I can’t even keep it going with the throttle. I know the check engine light has been on the entire time I’ve owned the car, but I never used to have this problem. I have replaced the intake camshaft position sensor, crank sensor, crank case vent valve and tubes, spark plugs, and it has a new coil pack on it. Overall the car runs better now that those things are done, but that’s when I can get it started. If anyone has ideas please let me know, I’ve about had it trying to figure it out myself.