docs.unity3d.com
    Show / Hide Table of Contents

    System Requirements

    • Windows 10+ or macOS High Sierra 10.13+, 64-bit versions only

    • Unity 2021.2. We recommend installing the latest version of Unity 2021.2 via the Unity Hub; 2020.2 is the minimum.

    • Optional: To run the PySide2 example, you will need the PySide2 package (see below).

    Installation

    You can install this package through the Package Manager or via your project’s manifest.

    In Unity 2022.1 and above:

    • Open the Package Manager Project Settings.
    • Enable the Enable Pre-release packages checkbox.
    • Open the Package Manager window.
    • Click the Packages dropdown and select Unity Registry.
    • Find and select Python for Unity in the list of packages, and click Install.

    In Unity 2021.2:

    • Open the Package Manager window.
    • Click the + dropdown and select Add package by name.
    • Enter com.unity.scripting.python, and click Add.

    Once the installation process is complete, "Python successfully installed" will appear in the Console.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023