Building from Source
Prerequisites
- Visual Studio 2019 or later
Build Steps
-
Download the source to a local folder.
- Generate Visual Studio project files:
- Right-click your .uproject file
- Select “Generate Visual Studio project files”
- Build the project:
- Open the generated .sln file in Visual Studio
- Set build configuration to Development Editor
- Build the solution
- Install the plugin:
- Create a Plugins folder in your project if it doesn’t exist
- Copy the built PythonScriptEditor folder to your project’s Plugins folder
- Restart the Unreal Editor
- Enable the plugin:
- Go to Edit → Plugins
- Find and enable the Python Script Editor plugin
- Restart when prompted
Verification
Follow the same verification steps as the marketplace installation.
Test Build
If unreal won’t compile after adding the plugin, check it compiles directly, this will give you the actual erors that may need addressing.
Using RunUAT Directly
If you need a specific build, you can use RunUAT directly:
This example is for windows:
"C:\Program Files\Epic Games\UE_5.2\Engine\Build\BatchFiles\RunUAT.bat" ^
BuildPlugin ^
-Plugin="path/to/PythonScriptEditor.uplugin" ^
-Package="path/to/output"
Replace the UE path and version as needed.