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

Fix FixFileNotFoundException during authorization #44

Closed Peaj closed 3 years ago

Peaj commented 3 years ago

Checks if auth token file exists before trying to read the token.

Fixes #43

JoshLmao commented 3 years ago

Hey, thanks for finding the issue and submitting at PR. I appreciate it (however small the changes are 😉)

Peaj commented 3 years ago

I'm glad to help. Thanks for bridging the gap between Spotify and Unity. Was fiddling with this API in JS already but I'm not quite as fluent with it anymore so its great to be able to use it in Unity.