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
4
Question by LeftyTwoGuns · Jul 22, 2014 at 03:34 AM · prefabexportdependencies

How do I export a specific prefab into Unity package?

I select the prefab then go to Assets, then click on "Select Dependencies" and then I click on "Export Package" but the entire list of every asset in my project shows up, rather than just the dependencies of the prefab I want to export. How do I easily export just this prefab and its dependencies short of manually clicking through every asset in my project?

The video I've watched showing me how to do this had only the prefab and its dependencies show up in the export window, so I'm wondering why I can't do the same.

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 jtruthnick · Feb 10, 2017 at 09:15 PM 0
Share

This just doesn't work in Unity 5.5. I have a massive project, I want to export 1 prefab. I have to select each component of the prefab manually in the export window, takes 10 $$anonymous$$utes. What's going on?

• Clicking on the prefab, then the "Select Dependencies" command via the "Assets" menu doesn't select anything for me. It actually DESELECTS the prefab.

• Toggling the "select dependencies" toggle when the export window is open doesn't do anything. It always selects everything.

• If I choose JUST the prefab once the export window is open, "select dependencies" is on, it JUST exports lights and particles. I don't get my geometry or materials (is this how it's supposed to work?)

• If I untick "Select Dependencies" in the export window, THEN deselect all objects, then select JUST my prefab, then tick "Select Dependencies" EVERYTHING gets selected.

This is frustrating. Just want to transfer a prefab and ALL it's associated files to another project. Can't do it.

1 Reply

· Add your reply
  • Sort: 
avatar image
7
Best Answer

Answer by LeftyTwoGuns · Jul 22, 2014 at 06:04 AM

I figured it out.

All the extra dependencies in the export list were actually scripts (I have an asset package with a lot of scripts in it). Unity apparently intentionally bundles all the scripts in the project as dependencies because one script on your prefab may interact with other scripts. Unchecking the "Include Dependencies" in the export window will deselect all the scripts you don't need.

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 Zaiks · Jun 11, 2017 at 07:09 PM 0
Share

Unchecking Include Dependencies deselects everything in my case. $$anonymous$$aybe it doesn't work with all packages.

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

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

Related Questions

Script causing prefab export to have HUGE dependencies? 1 Answer

Problems importing an asset bundle 1 Answer

How to export Prefab to .FBX file on iOS platform at runtime ? 0 Answers

Is the Asset export function broken? 10 Answers

How to save a prefab with script attached to it? 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