back to home

Unity-Technologies / UnityCsReference

Unity C# reference source code.

12,721 stars
2,550 forks
18 issues
C#

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Unity-Technologies/UnityCsReference in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/Unity-Technologies/UnityCsReference)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Please Note

The UnityCsReference repository is not currently being updated beyond version 6.2.0b4. Updates are planned to resume at a later date once internal validation processes are complete.

Unity 6000.2.0b4 C# reference source code

The C# part of the Unity engine and editor source code. May be used for reference purposes only.

For terms of use, see https://unity3d.com/legal/licenses/Unity_Reference_Only_License

The repository includes third-party code subject to third-party notices.

The terms of use do not permit you to modify or redistribute the C# code (in either source or binary form). If you want to modify Unity's source code (C# and C++), contact Unity sales for a commercial source code license: https://store.unity.com/contact?type=source-code

We do not take pull requests at this time (sorry). But if you find something that looks like a bug, we'd appreciate it if you'd file it using the Unity Bug Reporter. For more information, see our blog post: https://blogs.unity3d.com/2018/03/26/releasing-the-unity-c-source-code/

Unless expressly provided otherwise, the software under this license is made available strictly on an "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.

The C# solution is in Projects/CSharp/UnityReferenceSource.sln

The folder and file layout of the reference source matches the Unity source tree layout; it can and will change between different Unity versions.