Bambu Studio crashes the Mac at night

Twice now I found my Mac had rebooted in the night when Bambu Studio was running. This has never happened before, and the Crash Report Assigns the fault to Bambu Studio. All unsaved work is lost.

panic(cpu 4 caller 0xffffff801231d095): assertion failed: err == 0, file:

Panicked task 0xffffff9abf292350: 23 threads: pid 69072: BambuStudio

Version 1.6.2.4

I have found that if I am running the BOINC Software in the back ground it causes BamBu to fail when the iMac goes to sleep. This maybe caused by portal clash. [2 apps trying to use the same portal at the same time.] An old common problem between independent developers of apps. {Chinese and University of California don’t usually collaborate well…} The same was true with the QIDI Print software. [Also a Chinese developed software.]

I routinely shut off BOINC when running BamBu Studio and close BamBu after loading the files on printer.