UnityMLStableDiffusion icon indicating copy to clipboard operation
UnityMLStableDiffusion copied to clipboard

crash unity on macbook pro m1

Open freekatet opened this issue 2 years ago • 5 comments

Hi, I am running Unity 2023.2.3f1 (silicon) , the webcam example. settings are CPU & GPU on the tester script, original/compiled in the StreamingAssets folder (renamed StableDiffusion) Unity crashes as soon I get into playmode ( I can see the light of my webcam turning on just before crash)

any idea where I could look at ?

thanks!

freekatet avatar Dec 24 '23 18:12 freekatet

Does it work in the "CPU and NE" mode with the split_einsum model?

keijiro avatar Dec 25 '23 02:12 keijiro

Sadly not, the same crash happens with this configuration.

here are the last lines on the log : Memory consumption went from 100.2 MB to 100.0 MB. Total: 2.765375 ms (FindLiveObjects: 0.042166 ms CreateObjectMapping: 0.013042 ms MarkObjects: 2.590750 ms DeleteObjects: 0.118792 ms)

AssetImportWorkerClient::OnTransportError - code=2 error=End of file

freekatet avatar Dec 25 '23 04:12 freekatet

I saw you are on Sonoma , I am on Ventura (13.4) . Not sure if tehre is any connections.

freekatet avatar Dec 25 '23 04:12 freekatet

I saw you are on Sonoma , I am on Ventura (13.4) . Not sure if tehre is any connections.

It might be relevant because the recent updates in ml-stable-diffusion contains changes requiring Sonoma. I haven't enabled it though.

keijiro avatar Dec 25 '23 13:12 keijiro

oh weird, probably not this then as I downloaded the ML SD you linked. Any idea what this could mean ? AssetImportWorkerClient::OnTransportError - code=2 error=End of file

freekatet avatar Dec 25 '23 18:12 freekatet

I think this kind of issue doesn't reproduce with the latest package and macOS 15.0. Please reopen it if it still reproduces.

keijiro avatar Sep 21 '24 07:09 keijiro