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

Funny bug with OnTrackChanged #15

Closed Eyliess closed 5 years ago

Eyliess commented 5 years ago

Describe the bug OnTrackChanged seems to only be called when the tracks name has changed.

To Reproduce: Play a song, then play a different song but with the same name (Try Post Malone's Congratulations, and then Pewdiepie's one)

Expected behavior The method gets called when the track changes.

Platform: Windows

Unity Version: 2018.3.9f1

The issue isn't that serious so regardless, great work Josh!

JoshLmao commented 5 years ago

Thanks for finding this. I checked the code and it's pretty obviously a flaw. I'll update it asap

Eyliess commented 5 years ago

Awesome, snappy as always!