Skip to content

ynput/ayon-unreal-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AYON Unreal Integration Plugin

This repository holds the code for AYON Unreal integration plugin for various UE versions.

Documentation of how to use AYON integration inside Unreal is here.

This repository should be used as git submodule in AYON sources under /ayon_core/hosts/unreal/integration. In the future, Unreal integration will be moved to it's own AYON addon.

Getting started

This plugin meant to be used directly by AYON (OpenPype) either through Epic Marketplace or manually, when new Unreal project is started via AYON.

For every supported Unreal version there is one plugin (Ayon) and one project (CommandletProject).

How it works

When you launch Unreal Editor on any task through AYON, following things will happen:

  • Environment is prepared.
  • We check for presence of AYON plugin in Unreal Engine.
  • If the plugin isn't found, AYON will try to build it. For this step you will need configured build environment. Please follow guides on Unreal documentation for more information.
  • CommandletProject is blank project that is used to bootstrap project creation by Unreal Editor itself.
  • Unreal Editor is launched on new generated project.

Integration plugin is providing UI access to AYON functionality. Most of the code is used to mark and define data structures used by AYON inside Editor itself, rest of the functionality is implemented in Python inside AYON codebase.

Manual build

You can used provided Windows batch scripts to build plugin manually.

In order to successfully build the plugin, make sure that the path to the UnrealBuildTool.exe is specified correctly.

After the UBT path specify for which platform it will be compiled. in the -Project parameter, specify the path to the CommandletProject.uproject file. Next the build type has to be specified (DebugGame, Development, Package, etc.) and then the -TargetType (Editor, Runtime, etc.)

BuildPlugin_[Ver].bat runs the building process in the background. If you want to show the progress inside the command prompt, use the BuildPlugin_[Ver]_Window.bat file.

Related links