You can build a world developed through the ZEPETO World SDK in Unity's Batch Mode and upload it to ZEPETO Studio.
- Available from ZEPETO World SDK version 1.21.0 and later.
- Support is provided only for ZEPETO Studio accounts created using email login.
- The World ID and version set in the current Unity project's World Settings will be applied during deployment.
- Please check if ZEPETO Studio allows uploading of new versions.
- Before entering the CLI command, make sure to close the running Unity Editor.
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:
- 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.
- 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] -upload
- Here's an example of how to input the commands in the Windows Command Prompt:
- 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] -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.