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 NRS1993 · Nov 20, 2011 at 11:36 PM · prefabexportpackage

Creating independent prefabs

I am trying to make self contained object-assets for someone. I have the textures and fbx format geometry, but really have no idea how to export the textures and models together into a unity prefab so that he is just able to import an object. Any help would be appreciated.

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

2 Replies

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

Answer by thorbrian · Nov 21, 2011 at 09:53 PM

Select everything you want to export with ctrl-clicking in the project tab, then right-click and choose export package - everything you selected will be included in the package.

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 NRS1993 · Nov 22, 2011 at 12:38 AM 0
Share

AHA, that's how it works. I thought one needed to drag and drop into the prefab name marker itself. Thankyou.

avatar image
3

Answer by Bunny83 · Nov 20, 2011 at 11:52 PM

Just select your prefab in your project panel, right-click and choose export package. It will automatically include all dependencies. You can select as much assets you like to pack together in a package.

If you open a .unitypackage it will show an import dialog where you can select the assets you want to import.

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 NRS1993 · Nov 21, 2011 at 09:38 PM 0
Share

What I am still having a hard time with is packaging an image file, I keep dragging the image into the prefab, but it won't stick.

avatar image thorbrian · Nov 21, 2011 at 09:56 PM 0
Share

The dependency inclusion for the export seems broken to me - if I right click on the prefab and do "select dependencies", it selects things that will not be included with the "include dependencies" checkbox of the export. I get better results by doing "select dependencies" first, then doing export on that selection.

avatar image NRS1993 · Nov 21, 2011 at 10:00 PM 0
Share

Thanks, actually, I am now unable to package an image file with it, that is what I'm having a hard time with.

avatar image thorbrian · Nov 21, 2011 at 10:05 PM 0
Share

I just tested it with 3.4.2f2 on windows - I selected a .psd file in the project view, right-clicked and did "export package", and I got a package with the .psd in it, when I imported into another project, it imported the .psd. It worked fine as part of a multi-select with a prefab using the texture as well. What exactly is it you are trying and what is the result you are getting?

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

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

Problems importing an asset bundle 1 Answer

Error Compressing TAR when exporting package 2 Answers

Exporting a unity asset as a Package,but have not Preview Picture?help me please 0 Answers

Exporting / Commiting a Prefab? 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