Search Unity

Creating asset bundles from command line

Discussion in 'Asset Bundles' started by lovemoebius, Mar 21, 2019.

  1. lovemoebius

    lovemoebius

    Joined:
    Dec 12, 2016
    Posts:
    88
    I'm not entirely sure if this is possible, but I am in dire need of importing Sketchup (.skp) files in my Unity application during runtime. There doesn't seem to be any kind of plugin that would allow me to do this so, as far as I understand it, my only option is to import Sketchup files inside of an Asset Bundle.

    I found a few people on google (here and here) mentioning that it's possible to create asset bundles from command line, but either of the linked methods doesn't really explain how and the Command Line Manual doesn't seem to have any more info about it.

    To put it short, my question is:

    Can I create a remote server (running linux) that listens for files uploaded to it and converts those files to asset bundles?

    If so, how?
     
    tigerleapgorge and User340 like this.
  2. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    You can do this by invoking an editor script from the command line. View the -executeMethod command on this page for more information.