Same happened with me. I was created a sequence file of activities in studio. one day i was working to do some changes in the sequence file. And suddenly electricity power cut. When I Restart my pc and open the studio again ? Then try to open that main.xmal file ? I got error “File is invalid”
I visited to file location manually in C drive and open the file Main.xaml … I found its has been cruppted. and only have text "NUL NUL NUL…so on. The file is attached here. Please help me to recover it. Also fix this issue in UIPath future update. Its take us to make files months. and only one second power off can distroy all our work.
I guess it created Main(Autosave).xaml file in that folder and please check once. In this kind of issue occurs then it will Auto save and same file will be created in that folder.
I think there must be some problem with file while getting saved at such situation So we need to recreate the file buddy and that’s the best way as of now
Yah may be this feature will be added in near future