Probably something I did, all single-engine piston airplanes flaming out during flight despite fuel availability.
Appreciate constructive inputs.
Regards
Icing perhaps?
Is the fuel tank selector valve set to a tank with fuel in it?
âFlame outâ is not the proper term in regard to piston engines. Well, I just cannot escape my skin as a flight instructor 
Trying to be constructive: In what state of flying does the engine fail? As already mentioned check the fuel selector (especially if flying a PA28 etc. switch fuel selector from left to right every 30 min). Adjust (lean) the mixture according to your altitude. Especially after cruising at hight altitude. Turn on the fuel pump to keep postive fuel pressure while doing tight maneuvers just as you do during takeoff and landing.
Third party? Stock? Are you running any Mods? Do you have a specific scenario or setting that others can try to repro? More information needed.
This sounds like you have used all the fuel in one tank and didnât switch.
Fuel starvation. Even air/fuel imbalance (mixture) wonât cause your engine to simply stop. With magnetos, even an EMP event wonât do it. 
If you have a controller with a hardware starter switch (like the Honeycomb alpha or the Thrustmaster Airbus throttle quadrant), these will often keep you starter motor running full time, causing the batteries to drain and the plane to shut down.
Unbind the starter function from those switches, and make sure in the cockpit the switch is on âbothâ, not âstartâ.
No icing condition and fuel selector in the right place .
thank you both
Suggestion - when it happens enter Active Pause and scout around the cockpit for an on aircraft reason. Having offered that the fact that your problem applies to all of the piston engined aircraft that you fly does suggest an incompatibility with hardware somewhere. Just like Casual Click says - more information might be useful.
YES â an ideal use of ACTIVE PAUSE â
ACTIVE PAUSE resolved the issue
Thank you all for your input.
Regards
your discus about active pause remind me today situation. i flew some bird, and msfs show me again problem with connection i push esc. for disable this message, and when i get back i had lost rpm, i donât remember how solve it, i guess that was so simple, what my brain said âyou donât must to remember thisâ but i hadnât this situation before
Thatâs a bug if the engine is shutting down because of a drained battery. In a piston aircraft the magnetoâs are mechanically driven by the engine via the accessory case, and those in turn directly deliver electricity to the spark plugs.
You can run a piston engine without a battery until you run out of fuel. This of course goes out the window with aircraft like the diamonds where they utilize a FADEC system to electronically manage the engine.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.