Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
prakash-rabari-if opened this issue Jun 30, 2020 · 2 comments

Comments

@prakash-rabari-if
Copy link

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
@JoshLmao
Copy link
Owner

JoshLmao commented Jul 2, 2020

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

@prakash-rabari-if
Copy link
Author

prakash-rabari-if commented Jul 11, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants