Version: 2023.3
Language : English
Roslyn analyzers and source generators
.NET profile support

Unity .NET features

Unity uses the open-source .NET platform to ensure that applications you make with Unity can run on a wide variety of different hardware configurations. The .NET platform supports a range of languages and API libraries, which Unity supports to different extents in different platform contexts. This section outlines specific details and limitations of Unity’s .NET integration.

Topic Description
.NET profile support Details and limitations of Unity’s support for .NET profiles for managing API compatibility levels.
.NET system libraries Details and limitations of Unity’s support for .NET System libraries.
Third-party .NET libraries Important considerations when using third-party .NET libraries in Unity.
Referencing additional class library assemblies Reference parts of the .NET class library API that Unity doesn’t compile by default.
Stable scripting runtime: known limitations Limitations of the stable scripting runtime.
C# compiler Details and limitations of the C# compiler Unity uses.
Garbage collection Details of Unity’s garbage collector and how you can configure it.
C# reflection overhead Reduce garbage collector overhead when using C# reflection.
Roslyn analyzers and source generators
.NET profile support