Unity Source Code (USC) provides Enterprise users with human-readable C# source code for the Unity Engine and Editor, enabling deeper debugging and customization. It differs from the public read-only C# reference by allowing full access and modification with the Source Code Adapt plan, which lets users build, modify, and ship custom versions. Source Code Access is included with Enterprise and Industry subscriptions, while Adapt is available for purchase. More details and terms are available on Unity's website.
- I'm an Enterprise user and want to know what Unity source code is.
- I've purchased an Enterprise subscription and want access to the Unity source code.
- What are the main benefits I can get from Unity source code?
- What's the difference between read-only and full-access source code?
The Unity Source Code (USC) is the C# source of everything that goes into Unity Engine and Unity Editor-managed assemblies.
USC is the human-readable source code for the Unity real-time 3D development platform, not only the C# layer but the source files that allow you to change the Editor and compile a new version. It enables you to dive deeper into your code and understand what is happening at the code level of your game.
How does Source Code differ from the existing public C# reference published online?
The current C# reference source code is a read-only version that only includes the C# layer of the Unity Editor for understanding or improving your projects.
Unity offers two Source Code plans: Source Code Access and Source Code Adapt. Source Code Access empowers you to better understand and debug your code faster. With Adapt, you get Access advantages, plus the ability to ship your custom code.
Key benefits:
Source Code Access (included with Enterprise & Industry):
- Access, view, and clone Unity Source Code
- Debug your projects more easily by referring to the Unity Source Code
- Includes Source Code for Unity engine and Editor, Bee build system, all Unity APIs, Unity Remote and automated tests and frameworks
- IL2CPP and Partner platform Source Code available upon request with proper NDAs
Source Code Adapt (available to purchase for Enterprise users):
- Everything included in Access, plus:
- Build from Unity Source Code including Editors, Players, tooling, and project files
- 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
- Launch and ship your projects using modified Unity Source Code
- Requires an Integrated Success support package
Getting started:
If you have Enterprise or Industry, Source Code Access is already included. Please see 'How do I access read-only Source Code?'
For Source Code Adapt, contact your Unity Client Partner or Unity Sales team to discuss options.
More Information:
For terms of use, see Editor Source Code Terms.