Missing assets and code when switching from Python to Blocks

Hi
I was uninstalling a ray casting extension while in Python, and when trying to switch back to Blocks I was told I couldn’t and was asked if I wanted to roll back, and I said yes. My code was rendered unusable and I lost my assets too. How can I recover from one of those cloud saves? I can’t even Undo, I lost a few hours of work. Any chance you can help me out? (this is Nicolas’ dad writing in for him)
thanks

Welcome!
Yeah, Makecode occasionally deletes everything, especially during transitions like deleting/installing extensions and changing languages.
Right now, it’s recommended you save your project to your computer while developing it to ensure if the cloud save is deleted, you still have the file.
Currently there isn’t a fix, the code is most likely gone forever :frowning_face: The team is working on developing a ‘revert to older versions’ button that would automatically backup the project, but for now, you have to save it every once in a while manually.
On the bright side, the code is always better when written the second time around! :laughing: