Process custom assets with Python Asset Builder - Lumberyard User Guide

Process custom assets with Python Asset Builder

Open 3D Engine (O3DE), the successor to Lumberyard, is now available in Developer Preview. Download O3DE or visit the AWS Game Tech blog, O3DE Discord, or O3DE GitHub to learn more. The Lumberyard forums have been deprecated. You may view past forum discussions in the archive.

With Python Asset Builder, you can create Python scripts that process custom assets produced from content creation tools such as Maya and Houdini, or any content tool with a known file format.

To use Python Asset Builder you must enable the Python Asset Builder gem.

Python Asset Builder terms

The input and output files for a Python Asset Builder are both assets of some type. This documentation uses the following terms to distinguish between the input and output of Python Asset Builder.

Source asset file

An input asset file, such as an asset produced by a content creation tool, that will be processed by Asset Processor to generate a product asset file, source dependencies, and build dependencies.

Product asset file

An output asset file produced by Python Asset Builder that can be consumed by a game launcher or Lumberyard Editor.

Writing a Python Asset Builder

There are four steps to create a Python Asset Builder: