Spotify4Unity icon indicating copy to clipboard operation
Spotify4Unity copied to clipboard

Namespace Newtonsoft is Missing

Open zoid66 opened this issue 1 year ago • 2 comments

I am getting this error when I enter play in any one of two example scene "Assets\Spotify4Unity\Core\Managed Authentification\PKCE\PKCE_Authentification.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)"

zoid66 avatar May 22 '23 00:05 zoid66

Just find the Newtonsoft.dll and add it to the Packages folder

Makarova13 avatar Jul 29 '23 21:07 Makarova13

Above comment doesn't make sense and documentation fails to list this requirement, but you just need to install this Unity package: https://docs.unity3d.com/Packages/[email protected]/manual/index.html

Go to "Add package by name" in package manager and use this name com.unity.nuget.newtonsoft-json

GenebrisGit avatar Aug 10 '23 01:08 GenebrisGit