All datas on my mac book pro where deleted by closing the Processing app

I work with an mac book pro M1, 12.3.1 Monterey
After using the processing app, I close the app and in this moment all my datas are deleted. also the back ups in the i cloud is deleted. Also on the mac book memory there are no datas anymore.This is the second time i have this problem. Until now no one could help me - the apple genius bar told me that it must be an software bug, but they don’t really knew it.
i am a Grafik design student in the first semester - and a beginner with macs and processing.
Who can help me? All my work is gone :frowning: