- Home /
The question is answered, right answer was accepted
How do I get a deleted asset back?
I accidentally deleting an asset from the project folder. Is there any way to get it back?
The original post has been deleted by the poster. The above text is an attempt to extract a question reflecting the underlying issue that the poster spoke of, and thus make this post contain more relevant information.
I'm sure Unity and the 180,000 developers wouldn't want you and your mates to boycott this free program
Eric - The action was not available to undo. I undid a lot of tweaks to make sure. $$anonymous$$y terrain was just flat out gone.
Hi Petey. I believe you can delete the question if you don't want it to remain in the system. Also, if you can reproduce the issue of the terrain being accidentally deleted and not available for undo, repro instructions in a bug report would be a good start.
Good work changing the question, maybe some of the downvoters will un-downvote it? Anyway, +1.
Answer by Noise crime · Jun 05, 2010 at 09:09 AM
Whilst the question is argumentative, you have to understand their frustration.
I assume we are talking about actual project assets and not gameObjects, since you can undo deleting them? In which case I agree its far too easy to accidentally project assets and not always clear what you are deleting.
However, I think assets end up in the recycle/waste bin, so can be rescued. At least when I checked on this a few days ago it appeared Unity moved scripts there, so might be worth checking?
It doesn't help that you have to use the delete key to delete project assets (it should also be in the right click menu for the project panel), making accidental deletion even more likely. Of course it brings up a dialog box, but it doesn't actually tell you what asset it is about to deleted.
Although its always prudent to have a back up system, suggestion source control is hardly an answer for something that could be improved within Unity itself.
I understand their frustration. However, Unity has both a separate feedback site and a bug reporting tool, while UnityAnswers is more for long-term questions regarding how to create things with it. Plus, his "boycott" threat was either rather childish or a weird deadpan joke, and not exactly a way to get personalized support.
Yes, it was an Asset rather than an object.
Wow, thanks, you were right! I found the deleted assets and now I know where to look if it ever happens again. Thanks a ton, I really appreciate you not only having the right answer but also understanding my frustration.
(PS: If I could upvote twice, I would because of the "to accidentally project assets" - I'm just imaging the "Oops, I accidentally the project assets. How does fix?")
Ricardo - Like I said in a previous comment, I was tired, frustrated, and confused. I apologize for the attitude and boycott threat, but I was so angry to the point that I was surprised I still had an intact magic mouse, uncracked monitor, and unscarred wrists. Ahem. Thanks anyways.
@Ricardo - but neither of those (feedback/bug) is likely to have helped resolve his issue and simply co$$anonymous$$g down on someone because they couldn't control their frustration in the heat of the moment is not helpful. Yes he could have and should have phrased his question better, but at least by asking the question he got it resolved and saved probably countless hours of re-working.
@Petey - no problem, very happy you managed save your deleted asset. I would suggest though changing your question back to somehting like 'I've deleted my asset accidently, how can I get it back' so others with similar issues migh find this question & answer.
Answer by Ricardo · Jun 05, 2010 at 07:11 AM
Petey,
This is not a feedback site, and as the site's FAQ states it's not for argumentative questions. Please feel free to boycott UnityAnswers as well.
Upvoted for "feel free to boycott UnityAnswers as well", haha, I agree.
You know, my first Answer, was only mildly sarcastic but got a downvote. Fortunately, I agree with @SpikeX: +1
If my name was Peter, it would list my name as Peter. Please call me Petey, or Dude if you feel so bold.
I was infuriated, tired, and confused. Excuse me if I didn't go out of my way to find the exact place for it.
Hi Petey. $$anonymous$$y mistake, I guess it's one of those cases of the brain completing the pattern the way it's used to seeing it.
Now that rune has edited the question for politeness this answer is no longer relevant.
Answer by Lance Sun · Jun 05, 2010 at 07:27 AM
Try using source control. Checkin frequently, update frequently, and you can avoid this problem in the future. It also prevents data loss in the case of hard drive failure and force majeure.
Source control? Not exactly sure what you mean, sorry.
Use git or mercurial... or at less SVN or CVS.
http://en.wikipedia.org/wiki/Version_control - stores every change to your code/data in a database, so you can rollback changes. However, for Unity Assets, you can only do version-control on Assets with the Pro version. (Although you can use third-party VCs like Subversion, on text assets like code).
Answer by JasonM · Nov 03, 2011 at 05:11 PM
In case you get to the end of this post and are still worried about your red gameobjects, pink materials, missing scripts, whatever...
Stop what you are doing!
Go to the recycle bin
RMB > Restore the assets you deleted
Open Unity window and your assets will be reimported
All is right in the world
Never make changes to your project folder in the explorer window
Hope that gives you a straight answer.
Answer by John Hamill · Jan 20, 2011 at 08:09 PM
I had a similar situation.
I wanted to rename a Project View folder from "jwh" to "Jwh" (Change the first letter to uppercase) I wasn't able to do this in the Editor. I deleted the folder and recreated it with the uppercase letter in unity editor. I though I had the file open in my editor incase it got deleted but I didn't. Now I can't find it anywhere.
this was my experience, so might not be for you. if all you're trying to do is change a lowercase to an uppercase, Dont Do It!
Ins$$anonymous$$d, take 2 steps. 1) Change it to a different letter altogether. 2) Then, change it to the proper 'Case you want. :)
Unity doesn't handle this well on Windows for some odd reason. :p
Follow this Question
Related Questions
GUID removal after deleting a file? 2 Answers
Asset management with metadata 0 Answers
How to remove an asset package 1 Answer
AssetModificationProcessor OnWillDeleteAsset not called 1 Answer