Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by jahroy · May 25, 2011 at 08:01 PM · asset-server

Asset Server - Revert/Ignore an Update

How do you ignore or revert an update/commit when using Asset Server?

Example:

  • We have a LARGE folder named GUI that contains hundreds of images.

  • We decided we'd like to rename the folder (if possible).

  • My co-worker, Fred, makes the change to his working copy then commits revision 5000

  • Revision 5000 breaks all the project's associations that were made in the inspector

Because the commit was harmful, I obviously do not want to do an update. What should I do?

The most obvious thing to me was to have Fred revert his working copy back to the last safe revision (r4999) and commit again. We did this, but Asset Server is not allowing him to commit after reverting. Asset Server wants both Fred and I to update to revision 5000.

Updating to revision 5000 will take over 10 minutes and will break my project!

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
1
Best Answer

Answer by Wolfram · May 25, 2011 at 08:16 PM

Rename the folder on your side before making the update. IMPORTANT: rename it WITHIN UNITY, not via Finder/Explorer externally (I assume this is what Fred did? So his commit contains a "delete" and many "new" entries, instead of a "move" entry? If not, please clarify this before proceeding!)

Renaming it in your working copy will create a conflict on update. Now you can update, and simply select "Ignore server changes" for that folder, once the conflict window appears.

Or manipulate the asset server directly:

From within Unity you cannot ignore/delete a commit. But on the machine holding the asset server there should be some ways to administer the database directly, maybe it's possible to delete the latest commit there directly, not sure.

Comment
Add comment · Show 11 · 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 jahroy · May 25, 2011 at 08:40 PM 0
Share

Thank you. You are correct: Fred used the Finder.

avatar image jahroy · May 25, 2011 at 08:46 PM 0
Share

I just followed your advice. Unfortunately Fred had made another commit which attempted to change the folder back to its original name. This caused some nasty side effects :(

avatar image Wolfram · May 25, 2011 at 08:51 PM 0
Share

Uh-oh. What exactly are these effects?

avatar image jahroy · May 25, 2011 at 08:58 PM 0
Share

The old folder was named GUI. He changed it to Graphics in r5000. He made a couple attempts to fix the problem, the last of which involved a commit that changed the name back to GUI. I changed the folder's name to GUIx on my working copy then tried an update. I chose to ignore the changes on the server. When the update was complete I had an empty folder named GUIx and a folder named GUI with all the old assets in it, but in their raw state: they all need to have their settings changed and none of the inspector associations are in tact. Once I saw that was all bad I reverted my working copy to r4999, which is where I'm at right now.

avatar image jahroy · May 25, 2011 at 09:09 PM 0
Share

So... I reverted my working copy ro r4999. Then I changed the folder's name to Graphics (which was what we originally set out to do). Then I clicked update and chose to ignore server changes. I'm currently waiting for that 10 $$anonymous$$ute update to complete. Hopefully when I get back from lunch there will be a Graphics folder and a GUI folder. I'll delete the GUI folder, commit, and will hopefully be back to development.

Show more comments

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

2 People are following this question.

avatar image avatar image

Related Questions

Max non-superusers error when accessing asset server 1 Answer

How to commit to the Asset Server from (Editor) Script? 1 Answer

Reverting all assets to a previous revision (2+ versions ago is more complex than 1 version ago) 1 Answer

Asset Server Compare no longer works 4 Answers

Unity Asset Server Installation problem on CentOS 2 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