Unreal python plugin template
A Unreal plugin template for pure Python plugins
https://github.com/hannesdelbeke/unreal-python-plugin-template
Features¶
- this template is ready to plug & play, so just replace the code with your own.
- the repo includes code for a demo qt widget
- the included Unreal dependencies installer auto installs dependencies on Unreal startup from
requirements.txt - By default, it installs unreal-qt, which installs PySide6, because the demo widget uses it.
- adds the menu item
tools/myPluginto Unreal’s menu to launch the widget. - easy installation:
- Place the plugin in Unreal’s
Pluginsfolder - Enable the plugin in Unreal
- open
Edit > Plugins - search for
MyPlugin(capital sensitive) and enable it
- open
- Restart Unreal
- Place the plugin in Unreal’s
TODO¶
- demo how to add a section in unreal’s menu
- demo how to add an icon to the menu entry
- test on other OS
- Installing PySide to the project triggers import warnings for the jsons
- I found a manual editor fix
- Can this be automated? e.g. on startup? Atm every user will run into this which is annoying.
- maybe we can make an installer: (plugget Unreal already kinda does this)
- auto adds the plugin to the most recent unreal project
- auto enables plugin in project
- now user only has to run the installer, and restart Unreal
Reference¶
- github.com/laycnc/UnrealExtenstionPluginsTemplates C++ Unreal plugin templates
- tech-art.org thread
- unreal forum thread
Backlinks¶
- plugget - create a self-installing plugin
- achieved all above plugget features in Unreal python plugin template
- unimenu dev notes
- unimenu Unreal plugin, from Unreal python plugin template
- Unreal - add menu with Python
- Unreal dependencies installer
- Auto install Python module dependencies in Unreal, using py-pip.
- Unreal Python script editor
- add to Python Unreal menu section issue, see Unreal python plugin template
- add button to unreal toolbar
- think there s code in Unreal python plugin template
- my unreal plugins
- Unreal icons
- link to icon sample toolbar, Unreal python plugin template
- plugin templates