Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by eskovas · Jun 12, 2012 at 03:36 PM · prefabprojectconnection

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

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Kryptos · Jun 12, 2012 at 03:49 PM

Not sure, but given the UID, you might be able to find it under Library/Cache.

This is where version control systems are very useful. I strongly recommend to use one even for team with only one person (I know in this case it is not a team).

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tstpierre_nss · Jun 12, 2012 at 03:58 PM 0
Share

Agreed, it really sucks it happened. $$anonymous$$ost of us have been there and experienced it given enough time program$$anonymous$$g. This is the learning experience we all go through that $$anonymous$$ches us that source control is not just for $$anonymous$$ms or work... it is invaluable even for hobby development.

SVN and GIT are both free. External source control used to be a nightmare to use with Unity, however the recent change of separating project related settings was night and day with my old $$anonymous$$m.

Like Nicolas said, if there is any hope, you need to dig through the cache before you refresh the project or press play (I advice to turn off auto refresh as well in project settings).

avatar image eskovas · Jun 12, 2012 at 03:59 PM 0
Share

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...

avatar image eskovas · Jun 12, 2012 at 04:06 PM 0
Share

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

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

avatar image syclamoth · Jun 12, 2012 at 04:41 PM 0
Share

I think your course of action should go like this: rebuild your player prefab, because there's actually no way to get it back. Then in future, $$anonymous$$EEP PROPER BAC$$anonymous$$UPS! I cannot stress this enough. $$anonymous$$istakes happen, and there's no way to stop that- so the very least you can do is make it so that they don't matter.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

unity gameobject findwithtag in project tab?? 0 Answers

How to fix this: OnObjSpawn netId: 1 has invalid asset Id UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate() ? 2 Answers

Create customized prefab at runtime and save it 1 Answer

[Solved][Kinda?]Missing folders and files 1 Answer

Unity project referencing another Unity project? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges