See what’s under the hood
With Unity Source Code, you get greater insight into Unity’s inner workings. Whether you’re optimizing code, debugging, or want to deploy custom code, this insight helps you to do what’s best for your project and to get it done faster.
Included in Unity Enterprise
The Unity Enterprise plan provides you with Source Code Access alongside the support and tools you need to manage large-scale, ambitious projects.
Source code plans
There are two plans to fit your needs, Source Code Access and Source Code Adapt. Source Code Access, included in Unity Enterprise, empowers you to better understand, optimize, and debug your code – and do so faster. With Adapt, you get Access advantages, plus the ability to ship your custom code.
Included with Access and Adapt:
- Access, view, and clone Unity Source Code
- Build from Unity Source Code including Editors, Players, tooling, and project files
- Debug your projects more easily by referring to the Unity source code
- Modify and optimize the build process or other internal tooling
- Run automated tests from the Unity repository using included test frameworks
- Add features or functionality by modifying the game engine or packages
Included with Adapt only:
+ Launch and ship your projects using modified Unity Source Code
Get started with Unity Source Code
Purchase Unity Source Code
Contact the sales team to get Source Code Access as part of Unity Enterprise plans or Source Code Adapt rights.
Access from the Admin Portal
Using your Unity ID, view Unity Source Code in the Admin Portal. Create a personal access token, then download or clone the repository to your local machine.
Build where you work
Build Unity to get started debugging your project with Access, or making custom versions of the game engine with Adapt.
Häufig gestellte Fragen
With Source Code Access, you can download and use Unity’s Source Code, which includes the Source Code for the Unity engine and Editor, the Bee build system, all Unity APIs, Unity Remote and automated tests and frameworks. Source code for IL2CPP and Partner platforms are also available upon request and proper NDAs with hardware partners.
Source Code Access allows you to view Unity Source Code, making it easier to debug and optimize your projects.
Source Code Adapt provides the above, and also allows you to create your own custom Unity Editor and Runtime builds to fix bugs, tailor the engine to your needs, and ship projects using the modified engine.
Source Code Access is included as part of the Unity Enterprise plan. Source Code Adapt is available for purchase by Enterprise plan subscribers who have an Integrated Success (IS) support package. Please contact a Unity sales representative for more information.
Contact your Unity account manager or success advisor to activate Source Code Access for your organization.
If you have the Unity Enterprise plan, there will be no change to your access to Source Code. If you are on the Unity Pro plan and currently have a Source Code subscription, you will maintain access to Source Code through the term of your subscription. To discuss renewal or upgrade options, you can contact your account manager.
To access the new Unity Source Code experience, now hosted in the Unity Dashboard, sign in with your Unity ID and navigate to Unity Source Code in the Admin Portal. Create a personal access token and download or clone the repository to your local machine. Brauchen Sie Hilfe? Check out this quick onboarding guide.
Source Code Access comes with the Unity Enterprise plan and is covered by the customer support package included in the plan.
An Integrated Success plan is required for Source Code Adapt.
For issues related to accessing Unity Source Code: Submit a support ticket in the Unity Dashboard. Navigate to the Help and Support page from Unity Source Code in the Admin Portal. Click on “File a ticket” from the dropdown menu and select the . Fill out and submit your ticket.
For issues and technical questions related to using Unity Source Code: Submit a support ticket via support.unity.com.
The Unity C# reference code contains only the C# layer of the Unity game engine and Editor. It exists as a reference to understand and improve your projects. With Unity Source Code Access, you can gain deeper insight into underlying code to make better optimizations – and with Source Code Adapt, you can publish projects using modified code and versions of the engine.
The Unity engine and Editor are written in a combination of C++ and C#, with C# being the main supported language. With Unity Source Code, you’ll be able to see all of the C++ code underlying Unity’s C# reference.
No, Unity Source Code is subject to a specific licensing agreement and is not open source.
View our publicly accessible Unity GitHub repositories to get the latest code for core Unity packages, experimental features and tools, extensions, and more.