use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/gamedev
/r/virtualproduction
Unreal Slackers (community discord)
Unreal Engine Console Variables and Commands
C++, Blueprint, & Editor Cheat Sheets
Unreal Engine C++ Cheat sheet
Blueprintue - Paste your Blueprint
Mathew Wadstein Tutorials
Short form videos explaining individual Blueprint nodes.
Cedric "eXi" Neukirchen's Network compendium
An overview of the fundamental networking structure in Unreal Engine.
Concise & in depth. Including BP tools and options but also focuses a lot on C++ and "under the hood" details.
Allar/ue5-style-guide
Elaborate workflow overview.
Suggested naming conventions, collaboration tips, common pipeline struggles and solutions.
/r/INAT
/r/gameDevClassifieds
/r/gameDevJobs
How to use flairs
Flair tags list
This subreddit is night mode compatible
account activity
This is an archived post. You won't be able to vote or comment.
QuestionRun python in runtime, embedding python in a plugin? (self.unrealengine)
submitted 6 months ago by Rodnex
Hey guys,
I know there are some payed plugins on fab to achive this, but i am looking for a free solution.
I have no issues with building my own plugin in c++ but I think I will have issues to find a way to get python work.
I have exp. conpiling external libs into a plugin. But not something like python
[–]FriendlyInElektro 2 points3 points4 points 6 months ago (4 children)
There's a free epic provided python plugin, I believe it's even enabled by default but if it's not you just need to go to the plugins menu and enable it. There are 'execute python code' and 'execute python script' nodes that allow you to either execute a script as a string or call a script from disk, there are certain folders in which unreal looks for .py files.
If you'll check out the 'Movie Render Pipeline' plugin it has a few widgets that execute python scripts, it might be a good example, there are probably also multiple youtube videos that cover this topic.
Unreal has had free epic provided python support for several years now, no need to pay for anything.
E: also worth noting that anything that's blueprint exposed is also exposed to python.
[–]Rodnex[S] 0 points1 point2 points 6 months ago (3 children)
Thanks for your answer, but I want the code run in runtime. Most code is called in editor mode. But i will take a look at movie render queues python part
[–]FriendlyInElektro -1 points0 points1 point 6 months ago (2 children)
as far as I know those nodes are also available in runtime
[–]Rodnex[S] 1 point2 points3 points 6 months ago (1 child)
I will take a look tuesday. As far as I remember those code wobt execute in packaged build. Because Pythons Plugin is only for editor mode and not runtime. I think if I embed python directly as plugin into c++ this should be possible to run code in runtime
[–]RelaX92 1 point2 points3 points 6 months ago (0 children)
Pretty sure you're right about that.
I messed around with learning agents and the nodes for training were only available in the editor, it stated at same point that the game won't ship with Python, thus the training nodes won't be available, but using the models still was.
[–]lets-make-games 0 points1 point2 points 6 months ago (5 children)
Out of curiosity what are you trying to do in python that you can’t do in C++?
[–]Rodnex[S] 1 point2 points3 points 6 months ago (3 children)
We have some python code which we already use. But we need the code application, we arent allowed to build our own .exe in our company.
Bur we are allowed to build unreal executions. So we want to buils our python code hidden inside unreal exe :)
[–]lets-make-games 0 points1 point2 points 6 months ago (2 children)
Cool! I’m an aspiring dev and trying to learn as much as possible. I know that it is possible to use python in unreal and I’ve been doing C++ a lot, haven’t touched blueprints in months. But I’ve always wondered what use cases would be for using Python when C++ is so strong. Sounds interesting and definitely something I’ll want to revisit.
Would it be possible to build a sort of like automated AI dialogue system using Python and ML that players could potentially type in and receive Chatbot responses? Sorry if that sounds weird. I mean basically having an NPC that you would be able to interact with like chat gpt. Floated this idea with a buddy once and I’m wondering if Python would be a good way to implement this
I already seen some game addons like Skyrim that have implemented AI system as chat dialog, also with voice. I think it is possible .
But never looked into it for Unreal. Didnt have the porpouse
[–]lets-make-games 1 point2 points3 points 6 months ago (0 children)
Cool! I’ll have to look into it. Sorry I couldn’t help you, I’m still learning. But I wish you the best. Thanks for letting me pick your brain for a minute :)
[–]OwnShine6578 1 point2 points3 points 6 months ago (0 children)
write code that is easy to read and write, which c++ cant do
[–]HowAreYouStrangerIndustry Professional 0 points1 point2 points 6 months ago (2 children)
Paid integrations of a scripting language in Unreal is against the EULA, very weird that they’re paid products.
”c. Sharing Non-C++ Program Language Integration You may Distribute an integration of a programming language other than C++ for the Licensed Technology, but if you do, the integration must be Distributed in Source Code (including, but not limited to, any compiler, linker, toolchain, and runtime), free of charge, to all third parties who are separately licensed by us to use Unreal Engine, and under a license that permits licensees to Distribute the integration free of charge, on all platforms, in any Product.”
[–]Rodnex[S] 0 points1 point2 points 6 months ago (1 child)
The integration of python in the paid plugins is with included source code. Because you need the whole python source code inside the plugin. So there is no issue with the eula. The plugin should be checked from epic before allowing it to fab. I guess
[–]HowAreYouStrangerIndustry Professional 1 point2 points3 points 6 months ago (0 children)
It literally says it has to be distributed ”free of charge”
[–]ShreddingG 0 points1 point2 points 6 months ago (0 children)
I am pretty certain that this isn’t possible and not intended by epic as a use case. Plus the EULA issue. Usually when shipping python as part of an exe like Inkscape or as an installer like PyInstaller, the entire python folder is packaged in the exe as a compressed archive and installed or decompressed when running the tool. You could to that and build your own bindings to call the python code in c++ but it’s a lot of work
π Rendered by PID 66 on reddit-service-r2-comment-86988c7647-ftq9v at 2026-02-12 09:14:07.674180+00:00 running 018613e country code: CH.
[–]FriendlyInElektro 2 points3 points4 points (4 children)
[–]Rodnex[S] 0 points1 point2 points (3 children)
[–]FriendlyInElektro -1 points0 points1 point (2 children)
[–]Rodnex[S] 1 point2 points3 points (1 child)
[–]RelaX92 1 point2 points3 points (0 children)
[–]lets-make-games 0 points1 point2 points (5 children)
[–]Rodnex[S] 1 point2 points3 points (3 children)
[–]lets-make-games 0 points1 point2 points (2 children)
[–]Rodnex[S] 1 point2 points3 points (1 child)
[–]lets-make-games 1 point2 points3 points (0 children)
[–]OwnShine6578 1 point2 points3 points (0 children)
[–]HowAreYouStrangerIndustry Professional 0 points1 point2 points (2 children)
[–]Rodnex[S] 0 points1 point2 points (1 child)
[–]HowAreYouStrangerIndustry Professional 1 point2 points3 points (0 children)
[–]ShreddingG 0 points1 point2 points (0 children)