Search Unity

[Urgent] Bring back a prefab that was accidently changed?

Discussion in 'Editor & General Support' started by eskovas, Jun 12, 2012.

  1. eskovas

    eskovas

    Joined:
    Dec 2, 2009
    Posts:
    1,373
    Hello,

    Like the title says, is there any way to bring back a prefab from a temporary folder or something that was accidently changed?
    I accidently put an audio file in the Player's prefab and i clicked 'Change Anyway' and then i lost my player prefab, and the player prefab was very complex.
    I know this was very stupid... but it's done.

    Is there anyway to bring back that prefab? i still haven't closed Unity since that happened, and i hope i don't have to create the prefab from scratch again...

    Please respond quickly.
    Thanks.
     
  2. eskovas

    eskovas

    Joined:
    Dec 2, 2009
    Posts:
    1,373
    I opened the Editor.Log and i found this:

    "Updating Assets/Prefabs/Player.prefab - GUID: 1f0d5ac19d0ffcb4d9481f5e82950762... done."

    I searched on the Library/Cache but that file isn't there...

    I searched again but in the Library/metadata and found that GUID.

    How do i proceed? Is it possible to correct what i did?
     
  3. Screenhog

    Screenhog

    Joined:
    Jul 2, 2009
    Posts:
    498
    I take it you don't have any project backups?
     
  4. eskovas

    eskovas

    Joined:
    Dec 2, 2009
    Posts:
    1,373
    I have but it's months old and many things were changed
     
  5. atrakeur

    atrakeur

    Joined:
    Jun 14, 2011
    Posts:
    134
    don't think it's possible, because cache are generated from assets, and not the other way.

    Backups are allways very important ;)
     
  6. eskovas

    eskovas

    Joined:
    Dec 2, 2009
    Posts:
    1,373
    Well i found the latest backup i have, it's 2 months old.
    At least i don't have to make everything in the prefab from scratch.

    You can see that it's really alot of stuff if you have seen my game xD
    Check the link in my signature.
    It would be a very big problem if i lost everything in that prefab... i would have to spend many hours to get back where i was.