Spotify4Unity icon indicating copy to clipboard operation
Spotify4Unity copied to clipboard

Spotify4Unity - Can't get user playlists - Unable to get their UserID

Open prakash-rabari-if opened this issue 4 years ago • 2 comments

Describe the bug

  1. Spotify4Unity - Can't get user playlists - Unable to get their UserID

  2. NullReferenceException: Object reference not set to an instance of an object Spotify4Unity.SpotifyServiceBase.OnLoadedPlaylists

note :- my account is Premium for 3 month

*Platform:

  • android, ios

Unity Version:

  • unity 2019.3.f1

prakash-rabari-if avatar Jun 30 '20 06:06 prakash-rabari-if

The source is in the repo since it's open source. This will only be null if you have no playlists and I haven't touch this code in a while so I'm limited with my help. Make sure you're configured to access playlists in the API scopes section of the service too

JoshLmao avatar Jul 02 '20 13:07 JoshLmao

Hello Sir,

The problem here is: We have created the application with Spotify4Unity. I have two accounts of spotify. 1) When I log in with my personal ID and run the application it shows me the device list in the mobile app. (Screenshot ) 2) But when I am trying with the other ID is it not showing me the devices in the list. This other account I am using is for the developer account of spotify. (Screenshot )

Now the problem is

When I am trying with my personal account it shows me the list of songs but I can not control that from here. Also the user ID part of the application is always blank. There is nothing to show in that box. (Screenshot ).

Please guide me as required.

prakash-rabari-if avatar Jul 11 '20 08:07 prakash-rabari-if