Hello!
So I've been working in maya and I've never come across this issue before.
Maya randomly crashed, then when i re-opened my file, everything was completely gone. Nothing in outliner/workspace. I googled how to recover temp files, but it didn't seem to work. I thought the file was just corrupted so i started over. I made multiple saves again. but this time, when i opened my most recent save file, instead of everything being gone, just most of my work was gone, and the rest of the items untextured.
https://gyazo.com/ed9fefb76806f95eff990bd8c9cef5aa (This was the same with all my other saves too)
My files were not super big as i was working in low poly. My one file still says it's 3kb, despite when i open it, there's nothing.
I decided to google more, and i found out i had an issue with -nan(ind) in my script editor.
I found this:
https://polycount.com/discussion/194695/help-maya-ate-my-projectWhere they told me to replace the -nan(ind) with 0,0.
I tried to do it, and i thought i had but then i opened up my file, and things were still gone, and in the script editor it says: syntax error, etc.
https://gyazo.com/9a665605e7ff27df338e0f40ceba3774 I was working on another project today, and the same thing happened to my project, despite being in a completely different project. I replaced the -nan(ind) with 0,0 and that time it worked (only for 1 scene save, i tried to recover other saves and nothing happened), so when i had tried it with my other files, I was confused when it didn't work.
I googled that, and found:
https://forums.autodesk.com/t5/maya-forum/maya-crashed-objects-missing/td-p/8255166which basically says to correct the nan values. Which i thought i did.
I was wondering if there's something i am doing wrong, missing, If i can/can't recover my files? I'm wondering why this is happening to my files and if there's something i can do to prevent it?
I'm very nervous for starting over again, so if there's any light you can shed on my issue, i would appreciate it!
Thank you
Replies
Anyway, your second screenshot showing all the syntax errors tells me that something went wrong with the replace, but I'm not seeing what from the script editor readout. (betting on comma for now, I can take a look at your file if you'd like)
From what I've seen in threads and files I've fixed for people, the problem usually occurs when having a very long construction history, then trying to do work on the UVs, creating an even longer history chain. Maya needs to go from start to finish through the whole chain to create the final result, and sometimes just errors out at some point. The best practice is to regularly clear history on your objects while working, and most certainly before moving on to a next big step.
Thank you so much for responding and fixing this issue. I'm very relieved that it was something super fixable. That makes a lot of sense, I had not been deleting history, but will do that now!
Again, thank you so much for taking the time to help me.