Introduction (Python)

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

Updated over 4 years ago

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 or whether methods are marked as virtual - this information is currently only visible in C++ source code.

This helps keep the lights on