Hi,
We recently tried to upgrade from Unity 6 to 6.5 and got a bunch of errors related to package installed with NuGetForUnity.
We were installing System.Text.Json as well as Microsoft.CodeAnalysis.Analyzers & Microsoft.CodeAnalysis.CSharp.
After digging a bit, we realized that Unity already provides versions of those dll internally, which seems to be causing issues with version dependencies and whatnot.
System.Text.Json
System.Collections.Immutable
System.Reflection.Metadata
System.Runtime.CompilerServices.Unsafe
https://docs.unity3d.com/6000.5/Documentation/Manual/UpgradeGuideUnity65.html#programming
Here is an example of the kind of error we've been saying.

Do you have any clue as to how we can fix this?
Hi,
We recently tried to upgrade from Unity 6 to 6.5 and got a bunch of errors related to package installed with NuGetForUnity.
We were installing System.Text.Json as well as Microsoft.CodeAnalysis.Analyzers & Microsoft.CodeAnalysis.CSharp.
After digging a bit, we realized that Unity already provides versions of those dll internally, which seems to be causing issues with version dependencies and whatnot.
System.Text.Json
System.Collections.Immutable
System.Reflection.Metadata
System.Runtime.CompilerServices.Unsafe
https://docs.unity3d.com/6000.5/Documentation/Manual/UpgradeGuideUnity65.html#programming
Here is an example of the kind of error we've been saying.

Do you have any clue as to how we can fix this?