• 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
8
Question by MrDude · Nov 12, 2012 at 08:06 AM · assetsexporthowdependencies

Is the Asset export function broken?

I create a prefab in Project A, then I start project B and go: "Ohhhh, that prefab would be great in this new project" so I go to project A and select the prefab and , as per usual, Unity decides to build me an asset containing absolutely every single file in my project.

Doesn't matter if I click on a folder or a file, my export brings up every single file in the project...

WTF!?!?

Obviously we are going to have one or two very smart people who are going to suggest that I have 'Include dependencies" selected so before you think me a complete idiot, let me explain my latest attempt:

I have a game object with 0 components. it is the parent of another game object that contains: Elipsoid particle emitter and Particle Renderer and nothing else...

So I click on it and hit the asset export option and it brings up a box with 300 Audio files, 460 Textures, 80 scripts, models etc etc etc... 95% of which are in Resources folders and not linked to anything that could make them "dependencies". Hell, it even includes my scenes!

So I ask again: WTF????

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 Wrongfire · Apr 25, 2016 at 06:18 AM 1
Share

2016, unity 5. still broken. We lost a HUGE chunk of our games project and many days worth of work because this prefab of a mesh included literally every script, file, and texture decided to overwrite literally every script with an outdated version.

A prefab of a $$anonymous$$ESH with no scripts includes EVERY file, including scripts for no apparent reason. No prompt on overwrite, we lost 4 days of work. This is unbelievable.. From an error reported in 2012.

9 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by allesisda · Nov 04, 2016 at 11:09 AM

still an issue... November 2016...

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 JonnyHilly · Jun 23, 2015 at 06:48 PM

Confirmed. It is completely useless. (for exporting anything with a script on it , or a scene file) Selecting and de-selecting dependencies does not help. I have a scene with only models. absolutely no scripts. I select the scene export... it includes everything in the whole project, so try un-select dependencies.. it removes the whole project except the scene file. absolutely useless. You cant even batch select and de-select items in the file list, (which would be of great help)... or the check-boxes should work as a hierarchy so its easy to switch off entire folders. Definitely a major item that should be fixed in Unity.

BUT, it does work to export a prefab and or models, as long as it doesn't have any scripts on it.

Comment
Add comment · Show 1 · 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 petey · Feb 22, 2016 at 09:28 AM 0
Share

Hey thanks for posting this workaround! I was starting to loose my head a little and this worked for me, although It'd be nice if moving things from one project to another was an easy process.

avatar image
1

Answer by Aiursrage2k · May 16, 2015 at 01:30 AM

This is still an issue, wow makes using it almost completely useless.

Comment
Add comment · Show 1 · 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 masterchafe · May 19, 2015 at 03:40 AM 0
Share

it is possible to export the way you want to Aiursrage2k. Right-click the prefab in the Project pane you want to export, and choose "Select Dependencies", right-click again and choose "Export Package...", in the export window un-tick "Include dependencies", click "Export..." - You should now have the exported package you were wanting.

avatar image
0

Answer by iwHiteRabbiT · Oct 01, 2014 at 11:18 AM

I recently had a similar problem, I had to manage several unity packages within a project, and maintain them updated.

I have developed a tool for this, you can find it on the asset store under the name Custom Package.

Hope this will meet your expectations.

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
6

Answer by StarManta · May 21, 2014 at 04:16 PM

I'm going to chime in, agreeing with everyone else that "including every single script" is just about the worst possible behavior for this function.

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
  • 1
  • 2
  • ›

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

22 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Moving Assets / Packages From Unity 5 To 4 ? 3 Answers

Is there any way to save/export a unity project with only the needed assets? 2 Answers

how to use EditorObjExporter .obj-saving-script from the wiki? 5 Answers

How to check if other Asset exists? 1 Answer

Asset dependencies - selection/export 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