Provides an API for uploading Unity Asset Store packages in batch mode.
- Grab and import the latest Asset Store tools here.
- Since this is an unofficial API, it's recommended to create a separate Unity account and password (ex: [email protected]), and add that account to your publisher administration. Hopefully in the future this can be replaced with an API key.
- Clone this repository into the AssetStoreTools/Editor folder.
- Call Unity from the command line with
-executeMethod Thinksquirrel.ASBM.AssetStoreBatchMode.UploadAssetStorePackage
. Alternatively, callUploadAssetStorePackage()
(or one of its overloads) from another script. Your package must be placed in draft mode manually or uploading is skipped. - For command line arguments, see AssetStoreBatchMode.cs.
- Setting main assets are not implemented yet (root path is implemented).
- Login can occasionally timeout. Exception handling isn't the best right now either (async exceptions are not caught and just sit there until a timeout)
- I AM NOT RESPONSIBLE for any issues with your Unity packages. This script is fairly safe (it hooks into the C# Asset Store client that the Asset Store tools use), but this is an unsupported API and it may break without warning. Don't say I didn't warn you :)