Bootstrap a Python Asset Builder

To make a Python Asset Builder script available to the Asset Pipeline, you must add a file to the path or modify an existing file. Placing the Python Asset Builder script and the file in one of the following script locations is recommended:

  • In your project: Editor\Scripts\
  • In a Gem: Editor\Scripts\

To add your Python Asset Builder, import it in the file. The example below assumes that the Python Asset Builder is named, and that it’s in the same directory as the file.

import my_py_asset_builder