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

Unity editor freezing on play. #39

Closed Mattilak closed 3 years ago

Mattilak commented 3 years ago

Hi Josh, just wanted to start by saying I absolutely love this plugin :)

I created an application in unity and used the example player to display the current track info. It was working perfectly until this morning when suddenly every time I played it in both the editor and the built version they crash. I tried disabling the SpotifyService script and my application still runs fine until I attempt to connect to Spotify and it freezes.

If you could provide some insight into why this is happening and/or how I could fix this issue would be fantastic.

Thanks in advance!

JoshLmao commented 3 years ago

Hi,

Can I just check, which version of S4U are you using? It sounds like you are using the one from the asset store, v1.5 or below? If so, I've recently rewrote the whole thing so I do suggest you use v2, found here which isn't live on the asset store yet.

Is there any info or logs you could provide with the problem? I haven't heard of a similar problem before. It could be down to a number of things as the old version (v1.5 and below) had a multitude of problems, which was my main reason for a rewrite.

Mattilak commented 3 years ago

Thank you for the reply. I was using v1.5 from the asset store, I downloaded v2 from the link you provided and everything is working perfectly. Thank you!

JoshLmao commented 3 years ago

No problem. I'm working on updating the asset store one but having a few problems. Hope to have it done asap. Any other problems, feel free to open a new issue 😊