Quick Start

This guide will help you get started with UESynth in just a few minutes. We'll cover the basic workflow for capturing synthetic data from Unreal Engine.

Prerequisites

  • UESynth plugin installed and enabled in your Unreal Engine project

  • Python client library installed (uv pip install uesynth)

  • Unreal Engine project running with the plugin active

Your First Capture

Step 1: Start Unreal Engine

  1. Open your Unreal Engine project with UESynth enabled

  2. Load a scene or use the default level

  3. Press Play or ensure the game is running

  4. Check the Output Log for "UESynth: gRPC server started on port 50051"

Step 2: Connect with Python

Create a new Python script and add the following code:

from uesynth import UESynthClient
import cv2
import numpy as np

# Connect to the running Unreal Engine instance
client = UESynthClient()
print("✅ Connected to UESynth!")

# Check if connection is successful
if client.is_connected():
    print("🎮 UE instance is responsive")
else:
    print("❌ Failed to connect")
    exit(1)

Step 3: Position the Camera

Step 4: Capture Your First Image

Step 5: Capture Additional Data Types

Step 6: Clean Up

Complete Example Script

Here's the complete script you can run:

What's Next?

Now that you've captured your first synthetic data, you can:

Troubleshooting

Common Issues

Connection Failed

  • Ensure Unreal Engine is running and the game/PIE mode is active

  • Check that port 50051 is not blocked by firewall

  • Verify the plugin is enabled in the Plugins menu

Empty or Black Images

  • Make sure the camera is positioned with a clear view

  • Check that lighting exists in your scene

  • Verify the camera is not inside an object

Import Errors

  • Reinstall the Python client: uv pip install --force-reinstall uesynth

  • Check Python version compatibility (3.8+)

For more detailed troubleshooting, see our FAQarrow-up-right or create an issue on GitHub.

Last updated