Skip to main content
Open Source Released MIT License

Unity Python
Build Automation

Automate your Unity builds with Python. Build for multiple platforms with a single command. No more clicking through Unity's build settings.

5 Platforms
Build Support
Python 3.8+
Required
MIT License
Free Forever
# Build for all platforms
python build.py --all

# Build specific platform  
python build.py --windows
python build.py --android

# Build multiple platforms
python build.py --ios --android

# Custom output directory
python build.py --windows --output-dir="builds"
          

Stop Clicking, Start Building

Unity's build process is tedious. Switch platforms, wait for imports, configure settings, build, repeat. This tool automates everything so you can focus on making games.

One Command

Build for Windows, Mac, Android, iOS, and WebGL with simple Python commands. No Unity Editor required once configured.

CI/CD Ready

Perfect for GitHub Actions, Jenkins, or any CI/CD pipeline. Automate your builds on every commit.

0

Zero Configuration

Automatically detects Unity project settings. Works with Unity 2021.3 LTS and newer. No complex setup required.

Quick Installation

Get up and running in 5 minutes

1

Clone the Repository

git clone https://github.com/angrysharkstudio/Unity-Python-Build-Automation.git
2

Install Dependencies

cd Unity-Python-Build-Automation
pip install -r requirements.txt

Requires Python 3.8 or higher

3

Configure Your Project

python build_cli.py configure --project-path="/path/to/unity/project"

Point it to your Unity project folder

4

Start Building!

python build.py --windows --android

That's it! Your builds will appear in the output directory.

Features

Everything you need for automated Unity builds

Multi-Platform Support

  • Windows (x64)
  • macOS (Universal)
  • Android (APK/AAB)
  • iOS (Xcode Project)
  • WebGL

Smart Features

  • Zero-configuration setup
  • Auto-detects project settings
  • Version and timestamp tracking
  • Unity version validation
  • Interactive and CLI modes

Build Management

  • HTML build reports
  • Build time tracking
  • Organized output folders
  • Progress indicators
  • Rich console UI

CI/CD Integration

  • GitHub Actions ready
  • Jenkins compatible
  • Docker support
  • Environment variables
  • Webhook notifications

Example Commands

Common build scenarios and how to run them

Build for Production Release

python build.py --all --release --version="1.2.0"

Creates optimized builds for all platforms with version 1.2.0

Mobile Builds Only

python build.py --android --ios --keystore="path/to/keystore"

Builds Android APK and iOS Xcode project with signing

Development Build with Debugging

python build.py --windows --development --debug

Creates a Windows development build with debug symbols

Clean Build with Fresh Import

python build.py --android --clean --reimport

Cleans build cache and reimports assets before building

Start Automating Your Builds Today

Free, open source, and ready to use. Join developers who've saved hundreds of hours on Unity builds.

MIT Licensed • Actively Maintained • Community Driven

Related Projects

Explore more developer tools and Unity projects from our portfolio

Hubstaff MCP Server icon
AI Automation

Hubstaff MCP Server

AI-powered task management using Model Context Protocol and Claude Code for intelligent workflow automation.

Developers Forge SaaS platform dashboard
SaaS Platform

Developers Forge

Game studio management SaaS platform combining project tracking, team collaboration, and AI-powered analytics.

Folkhus Unity 3D house configurator enterprise solution
Enterprise Tool

Folkhus

Swedish house design configurator built with Unity, featuring real-time visualization and enterprise deployment.

Learn More

Check out our blog post for a detailed tutorial and advanced usage examples