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
94 stars 8 forks source link

APIScopes in PKCE config don't seem to save #58

Open wybo opened 1 month ago

wybo commented 1 month ago

When setting the API Scopes to anything less than everything, the changes aren't saved.

Am using a work-around by setting them manually in the Awake() of my SpotifyListener.

void Awake() { GameObject.Find("Spotify").GetComponent().APIScopes = new List() {"user-read-playback-state"}; base.Awake(); }

But this is obviously just a workaround.