How to Integrate a .NET 9 C# Library in Unity3D Version 6

Hi everyone,

I’m working on a Unity3D project (version 6) and want to incorporate a custom C# library built using .NET 9. I understand Unity uses a specific version of the .NET framework/runtime, and I’m concerned about compatibility or potential issues when integrating libraries targeting newer versions of .NET.

Could anyone provide guidance on:

  1. Best practices for incorporating .NET 9 libraries in Unity3D? Is it even possible?
  2. Any potential pitfalls or workarounds for compatibility issues?

Thanks in advance for your insights!

Scripting C-Sharp

Unity works best with .NET Standard 2.1, .NET Core is not supported.

Have you tried GitHub - GlitchEnzo/NuGetForUnity: A NuGet Package Manager for Unity ? What is the library?