JoshLmao / Spotify4Unity

🎮🎵 Add the SpotifyAPI.NET library into Unity, enabling access to the Spotify Web API, allowing for control of Spotify and accessing the world of music
https://assetstore.unity.com/packages/tools/integration/spotify4unity-ui-tools-spotify-authorization-129028
MIT License
97 stars 8 forks source link

Namespace Newtonsoft is Missing #53

Open zoid66 opened 1 year ago

zoid66 commented 1 year ago

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?)"

Makarova13 commented 1 year ago

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

GenebrisGit commented 1 year ago

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/com.unity.nuget.newtonsoft-json@3.2/manual/index.html

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