Unity Source Code
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.
Key benefits
You can use Source Code Access how you want – whether that’s improving old processes or understanding data structures of graphics rendering – and doing so with the latest updates and bug fixes.
Debug your Editor and runtime code more efficiently, without waiting for support. Get to the bottom of bugs and performance issues faster using flags and breakpoints, and use Unity’s own automated tests and test framework to monitor the stability of your project.
Recommend engine improvements, share your knowledge, and better contextualize your support needs. Provide your source code samples and best practices to others, make code suggestions to your Success Advisor, and collaborate more closely with Unity support teams.
Launch modified or custom code based on your project’s needs using Source Code Adapt rights. Deploy your code using internal APIs and modify private data structures to delete, override, or extend functions. An Integrated Success plan is required; contact sales for more information.
Source code unlocked Stunlock Studios’s ambitions
See how Stunlock Studios achieved their vision for the acclaimed game V Rising using DOTS and Unity Source Code to fix bugs, improve performance, and optimize frame rate within GPU constraints.
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
What’s inside the plans
Get started with Unity Source Code
Contact the sales team to get Source Code Access as part of Unity Enterprise plans or Source Code Adapt rights.
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 Unity to get started debugging your project with Access, or making custom versions of the game engine with Adapt.
Get in touch with sales to gain access to Unity Source Code through a Unity Enterprise plan.