Unity supports a modern .NET runtime. You may encounter the following issues when using the .NET runtime:
The stable scripting runtime comes with a larger .NET class library API than the legacy scripting runtime. This means the code size is frequently larger. This size increase may be significant, especially on size-constrained and Ahead-of-Time (AOT) platforms.
To mitigate code size increases: