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
5
Question by casimps1 · Nov 01, 2012 at 02:21 PM · updatepackagenguiasset-server

What is the best way to handle updating existing asset packages?

There are lots of great asset packages out on the Unity Asset Store. However, I've found that dealing with those packages (particularly those that are frequently updated) and the Unity Asset Server is troublesome to say the least.

Initially I had put all of my imported asset packages into a separate folder called "Third-party Systems". I wanted to keep things more organized than just having a ton of root folders for each package I imported.

This worked great until I had to update one of those packages. When you try to import a new version of an asset package it installs it back into the original location as defined by the package creator. Unity doesn't allow you to modify this. So, then you temporarily end up with two copies of every script file, which obviously, won't compile. But you also can't then just delete your old package, because the links from all of your GameObjects are to those specific script files and those links will be broken, effectively destroying a lot of your work.

So, it seems that the best way to handle asset packages (though this greatly annoys me), is always leaving all imported assets in their original location. Things tend to work better this way, but particularly with the Asset Server, things can still get wonky. There are situations I've found where files won't be updated when pulling down new versions from the Asset Server. Deprecated files aren't deleted. You end up with duplicate files, compile errors, and other general nastiness.

Sometimes things are broken even when just dealing with files locally. I recently tried to update my NGUI (a UI scripting asset package from the Store) installation to a newer version. If I just import the package, I get compile errors. If I delete my old installation, then import the new version, I get no compile errors, but all my GameObject Component links are broken. I can't win.

I've just never found a way to handle updating existing asset packages and have it work seamlessly, especially with the Asset Server. Updating our packages (particularly the script heavy ones like NGUI) has always been a painful ordeal. Just wondering if anyone has any tips for how to handle this better.

Comment
Add comment · Show 1
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 Tethys · Nov 08, 2013 at 08:44 PM 0
Share

Wow a year later and no answer. :P This question has also plagued us for eons in France. We have some custom Unity packages not found in the Unity store and go through the same painful process you mentioned in order to update (delete it all and reimport it all).

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ThePunisher · Nov 08, 2013 at 09:05 PM

So, everything I'm about to say is based on my experiences and my company's workflow. It may (and probaby does) differ or not work for other people.

Think outside the box.

The best way to deal with third party tools is to not change them at all. Like you said, moving the location of the files means updating will not be an easy task. You have no control over that. But what you do have control of is your assets. Instead, move your assets into a directory that contains all of YOUR game's assets. This creates an easy separation between assets created by you and assets from third party tools.

For instance, your directory would look something like this:

  • MyGameName

  • Editor

  • Textures

  • Models

  • Materials

  • Animations

  • Shaders

  • Scripts

  • NGUI

  • NGUI stuff

  • TK2D

  • T2dk stuff

  • Standard Assets

  • Plugins

Comment
Add comment · 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
0

Answer by noffke22 · Oct 16, 2014 at 07:48 PM

NGUI author himself says, don't use the asset server. If you haven't realized, it isn't source control. No supported way to back out changes, no way to get it to correctly check in such changes, horribly deconfliction support, etc.

Comment
Add comment · 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

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

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

I Can Not Find "2D Animation" after Update 1 Answer

[HELP!!] Files all missing while I update the version from Unity 2018.3.12f1 to Unity 2019.1.4f1 0 Answers

Losing package references between opening/closing project 0 Answers

Expected 8 arguments to javascript loginSuccess() method, received 7 0 Answers

How do I import packages with Prefabs to Update my package automatically? 1 Answer


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