Python Scripting package
Important
Support for the Python Scripting package is scheduled to end as of Unity 6.1.
Note
To use the Python Scripting package, you must install it separately, in addition to the Unity Editor. For detailed information about package requirements and installation instructions, refer to Installation.
Use the Python Scripting package to optimize Unity Editor workflows for your VFX/animation pipelines:
- Automate repetitive tasks with simple Python scripts to speed up your artistic processes.
- Integrate your custom pipeline tools written in Python to extend Unity's functionality.
- Increase Unity's interoperability with other software of your pipeline that already use Python.
Section | Description |
---|---|
Installation | Install the Python Scripting package and extend its capabilities with additional Python modules and packages. Check out the versions of the Python libraries installed with the package. |
Get Started with the Python Script Editor | Use the Python Script Editor to write, save, load, and execute Python scripts in Unity. |
Create a menu item that calls your script | Use the Python Script Editor to create custom menu items that execute Python scripts from the Unity Editor menu. |
Call Python code from C# | Call Python instructions, script files, or APIs directly from C# to integrate your own features in Unity. |
Python Script Editor | Get a full description of the Python Script Editor window interface. |
Project Settings | Get a description of all Python Scripting package properties and tools available in the Unity Project Settings. |
Known issues and limitations | See the list of current known issues and limitations that you might experience with the Python Scripting package, along with some workarounds. |
Note
The Python Scripting package is a feature designed to work only in the Unity Editor. It isn't available in runtime builds.