Studio GuideWorld SDK Guide
Log In

Building packages with CLI

You can build a world developed through the ZEPETO World SDK in Unity's Batch Mode and upload it to ZEPETO Studio.

❗️

Caution

  • Support is provided only for ZEPETO Studio accounts created using email login.
  • The world version set in the current Unity project will be applied and deployed.
  • Please check if ZEPETO Studio allows uploading of new versions.
  • Before entering the CLI command, make sure to close the running Unity Editor.
  • Please check the path where Unity is installed and the path to the Project.

Please refer to the following guide for basic pre-launch World settings.

📘

Please refer to the following guide. [Releasing your World]


To run in Unity's Batch Mode, enter the following CLI command:

  • Below is the CLI using the default Unity installation path as an example. Please change it based on your own installation path.
  • When entering the project path and account information, type them without quotes.
  • If you only want to build without uploading, exclude the -upload flag from the command.
  • Be cautious when using batch files or script files, as account information and passwords could be exposed.

Windows

  • How to Run Command Prompt : Press the Windows+R keys on the keyboard to open the Run dialog, then type "cmd" in the text input field and click the "OK" button.
"C:\\Program Files\\Unity\\Hub\\Editor\\2020.3.9f1\\Editor\\Unity.exe" -batchmode -nographics -projectPath [Project path] -executeMethod "ZepetoPackageCliBuilder.BuildWithArgs" -id [ZEPETO Studio account (email)] -password [Password] -worldId [World Id] -upload
  • Here's an example of how to input the commands in the Windows Command Prompt:

MacOS

  • How to Run Terminal : Press the shortcut keys Command + Space to open Spotlight Search, then type "Terminal" and press Enter.
/Applications/Unity/Hub/Editor/2020.3.9f1/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath [Project path] -executeMethod "ZepetoPackageCliBuilder.BuildWithArgs" -id [ZEPETO Studio account (email)] -password [Password] -worldId [World Id] -upload
  • Here's an example of how to input the commands in the MacOS Terminal:

👍

Build > .zepetopackage file is created within the Unity Project folder you worked on.