Skip to content

Ubt

Utility Functions and classes for working with Unreal Engine’s UBT (Unreal Build Tool) system.

NameDescription
ubt.build_executableBuild an Unreal Engine project executable using the Unreal Build Tool.
ubt.get_editor_executable_pathGet the path to the Unreal Editor command-line executable.
ubt.get_engine_path_from_slnExtract the Unreal Engine path from a Visual Studio solution file.
ubt.get_project_fileFind the .uproject file in a project folder.
ubt.get_sln_file_from_projectFind the Visual Studio solution file in a project folder.
ubt.get_ubt_pathGet the path to the Unreal Build Tool (UBT) RunUAT script.
ubt.get_ue_versionExtract the Unreal Engine version from a .uproject file.
ubt.get_unreal_platformGet the current platform for Unreal Engine.
ubt.quick_build_unreal_projectBuild function with reasonable defaults to build an Unreal Engine project and return the path to the executable.
UBTCommandDataclass for constructing Unreal Build Tool (UBT) command line arguments.