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 jainam · Jul 31, 2014 at 08:10 AM · assetbundleserverbatchmode

automating unity3d asset bundle creation process

Hi there!

My app needs unity3d asset bundles to be downloaded on the fly for which I create asset bundles from Unity Pro version, upload them on my server and the app downloads them when required.

My next step is to upload an OBJ and FBX file on the dashboard of my website and I want to create asset bundles directly from there. So that I don't have to open Unity3D and export asset bundles manually.

I read in some posts that it is possible to automate creation of asset bundles by setting up unity3d on a server, but couldn't find the steps or tutorial on how to do the same (I have never run Unity in batch mode or from command or terminal for the sake).

I am using Unity 4.5.0 on MAC.

It would be great if someone could give me some hints or direct me to a tutorial.

Thanks in advance! :)

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · Jul 31, 2014 at 11:03 AM

See:

http://docs.unity3d.com/Manual/CommandLineArguments.html

That will explain how to run Unity in batch mode and select the scripts that you want to be executed.

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 jainam · Aug 01, 2014 at 04:44 AM 0
Share

Thanks @Graham! This looks helpful.

avatar image uniquesoftwaredev · Sep 30, 2015 at 09:26 AM 0
Share

Has Any one been able to do that just by unity command line and giving the path of the fbx file and convert it into an asset bundle which we can host it somewhere. Any Help will be appreciated

avatar image tswalk · May 05, 2016 at 05:25 PM 0
Share

ya, i don't find this to be an answer.

the system has changed considerably.. and the only demo they have shows using the editor.

we really need a short example of how to batch mode with the new asset bundle manager

https://unity3d.com/learn/tutorials/topics/scripting/assetbundles-and-assetbundle-manager

avatar image MEDIALLIANCE_2 · Dec 05, 2017 at 12:35 PM 0
Share

Same here, I managed to do this before 5.2 with BuildPipeline.BuildAssetBundle but this is obsolete now... Should use BuildPipeline.BuildAssetBundles now but I'm having trouble with it... Can someone just confirm me it can be achieved at least? Thanks

EDIT: found this (didn't try it yet) https://bitbucket.org/Unity-Technologies/assetbundlegraphtool

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

Problem with Video Clip Loading on Android App (NOT streaming) -360VR 0 Answers

Create DLC mini games AssetBundles 0 Answers

batchmode assetbundles slow across various ec2 instances 0 Answers

Batchmode on linux 1 Answer

Creating AssetBundles outside the Unity Editor. 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