babelshift / SteamWebAPI2

🎮 C# / .NET library that makes it easy to use the Steam Web API. It conveniently wraps around all of the JSON data and ugly API details with clean methods, structures and classes.
MIT License
263 stars 43 forks source link

Error when trying to get owned games #106

Open sp0ok3r opened 4 years ago

sp0ok3r commented 4 years ago

I got this error when trying to get owned games: (var OwnedGames = await InterfacePlayerService.GetOwnedGamesAsync(AccountLogin.CurrentSteamID, true, false); )

Error: "!!1 AutoMapper.IMapper.Map(!!0)'"

babelshift commented 3 years ago

Any more details on this? Stack trace / detailed exception? Do you have a specific Steam ID that I can use to recreate? Also what version of AutoMapper are you using in your project?

sp0ok3r commented 3 years ago

More details: github

I tried some accounts , they always return the same, im using the last version of auto mapper 10.0.0

Dmitriy-ksm commented 2 years ago

More details: github

I tried some accounts , they always return the same, im using the last version of auto mapper 10.0.0

Today I conducted unit tests for my branch. I live in another country, and my system has a non-English CultureInfo set by default. This affects how the AutoMap parser works. Maybe this is the problem. If your question is still relevant, maybe you should try setting CultureInfo ("en") for your application or something like that.