Getting Started (Python)

Blog posts and sources to get started working with Python in Unreal

Updated over 3 years ago Edit Page Revisions

References

Hints

  • Enabling Developer Mode in the Python plugin settings will generate an ‘unreal.py’ file in Project/Intermediate/PythonStub. This file contains stub code for all major classes and methods in native code, in both engine and game modules. It’s intended for use by text editors to provide automatic code completion and symbol documentation, but it’s also useful to look through manually to get clues about how to override or interface with key classes.

  • BE WARNED that the 'unreal.py' stub file does not expose UClass metadata, whether methods are marked as virtual, or whether arguments are passed-by-reference (see UPARAM(ref)) - this information is currently only visible in C++ source code.