JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
9.11k stars 492 forks source link

Failed to download metadata (IGDB) #2088

Closed chidniu closed 3 years ago

chidniu commented 3 years ago

When trying to download the IGDB Metadata for "Ghostrunner" I get the error "Failed to download metadata: Object reference not set to an instance of an object.". Other games seem to work fine.

Clipboard01

I am using Playnite 8.5 on Windows 10 2004.

JosefNemec commented 3 years ago

It's an issue with IGDB's data, they have invalid screenshot assigned to that game. I've submitted change to their db, it will start working once it's accepted.

I'll add some fail safe to Playnite to handle this case gracefully.

JosefNemec commented 3 years ago

Fixed in 8.6

kb01guy commented 3 years ago

This happens again in 8.11, in my case on the game Valorant.

Edit: I have read that the issue is on IGDB, I'll look into this there. Edit2: How do I get Logs from Playnite?

JosefNemec commented 3 years ago

Yes, it's the same issue, the game has some invalid screenshot assigned to it (if you edit the game on IGDB, you can see screenshot with no image). I don't why my workaround for this scenario doesn't work, but it's definitely caused by invalid data on IGDB's side.