PocketPython is a C# plugin that allows you to do Python scripting in Unity. It provides a sandboxed Python environment, which adds dynamic capabilities to your game.
PocketPython v1.1.4 (14 Aug 2023) (Latest version)
“Sharing is caring”
Description
PocketPython is a C# plugin that allows you to do Python scripting in Unity. It provides a sandboxed Python environment, which adds dynamic capabilities to your game, which can be used for dynamic game logic, modding, hot fixing, and more.
The virtual machine is written in pure C#, which means you can fully control the internal state of the Python interpreter.
PocketPython is designed for game scripting, not for scientific computing. You cannot use it to run NumPy, OpenCV, or any other CPython extension modules.
Technical details
It requires Unity 2020.3 or newer
Support Windows/Android/iOS/MacOS/Linux
Support Mono/IL2CPP
For technical support, you can:
join our Discord server
mail me via [email protected]




