Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 spencer_pnt · Jul 31, 2015 at 08:42 AM · errorprefabpackagestore

Problem Uploading Prefabs with Asset Store Tools

I'm trying to upload a package to the Unity Asset Store through the Asset Store Tools, and I keep running into an error with components purportedly missing from prefabs in my selected main assets.

I select the assets folder, making sure that all dependencies are inside that one folder. If I leave zero main assets selected, it uploads successfully with zero errors. If I select textures, materials, fonts, particles, scripts, etc. as the main assets, it still uploads successfully with no errors. However, if I select any prefabs as the main assets, I get this error:

4 component(s) of GameObject 'ButtonGreen' are missing in the AssetBundle. Please specify BuildAssetBundleOptions.CollectDependencies or collect GameObject's components and pass as 'assets' parameter. UnityEditor.BuildPipeline:BuildAssetBundle(Object, Object[], String, BuildAssetBundleOptions) AssetBundler3:CreateBundle(Object, String) MainAssetsUtil:CreateBundle(String) MainAssetsUploadHelper:GenerateAssetBundles() AssetStorePackageController:UploadAssetBundles() AssetStorePackageController:OnAssetsUploaded(String) c_AnonStorey4:<>m_4(AssetStoreResponse) AssetStoreClient:UpdateLargeFilesUpload() AssetStoreClient:Update() UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

The number of components reported missing is exactly the number of components on the prefab.

Some stuff I tried:

  • I suspected it may be related to how the prefabs are linked to prefab instances in the scene in my selected assets folder, so I unlinked all the instances in the scene. I still got the same error.

  • I created an empty prefab, and attached an empty game object to it (so, only the transform component). I tried including that as a part of the main assets, and still got the same error (with only 1 component reported missing).

  • I thought it may be somehow related to my project folder heirarchy, so I deleted all folders and all assets except a single UI Button prefab, with its corresponding Textures, Animator, and Animation. I then deleted all game objects in my scene, except one instance of the button prefab on the Canvas. I still got the same error.

It may also be worth noting that I was able to successfully export a package of my selected folder through the normal means (Assets > Export Package...). This worked fine. I was able to import it into a new project, and everything ran successfully.

Has anyone else encountered this problem? Does anyone know any solutions or work-arounds? Thanks! :)

Comment
Add comment · Show 2
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 pixelandtexel · Aug 04, 2015 at 11:28 PM 0
Share

I'm also having this same problem. Anyone else?

avatar image jister · Nov 22, 2015 at 07:38 PM 0
Share

same here is this a bug?

0 Replies

· Add your reply
  • Sort: 

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

Package import crash. 1 Answer

Unity 2018.3.11f1 Failed to start the Unity Package Manager local server process 1 Answer

Sinusoidal move problem 1 Answer

Error In Decompressing Unity Asset Store Package 6 Answers

Package manager, CS0308 error 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