Snapmaker job fails after one cut on M8, M9 unknown command errors

Hi @GameMaker, at the end were you able to overcome the problem? I still have the same issue with my SM 2.
I was already aware about the M7/M8 code topic so I usually make the positioning of the laser, save the gcode, post-process the file in notepad++ and then run the gcode.

Unfortunately it seems this is not this piece of code that makes the job fails. Even in my case, mostly all the times, machine stops without errors but before the end of the job.

@LightBurn, sorry for cross posting, I already opened a post https://forum.lightburnsoftware.com/t/lightburn-stops-at-a-wrong-pass-number-or-with-missing-layers/24899 because I can’t recognize the root cause of this behaviour.
Do you have any advice?

Moreover I confirm in SnapMaker profile mode it is still using the M8 / M9 commands.

I really like Lightburn but in this way I’s hard to use it.
Thanks for support! Of course I’m at your disposal for further tests.

Gianluca