SteamUserStats() generating crash
I have a problem with the Steam API when I try to find a leaderboard.
Looks like SteamUserStats() is not returning what it is meant to.
This is what I am doing:
1 - At the begining:
2 - Run SteamAPI_RunCallbacks() every tick.
3 - When I try to find the leaderboard:
4 - My CSteamLeaderboard.cpp (exactly the same as Spacewar example):
This is the crash log I get:
Unknown exception - code c06d007f (first/second chance not available) KERNELBASE UE4Editor_EliosisHunt!__delayLoadHelper2() [f:\dd\vctools\delayimp\delayhlp.cpp:386] UE4Editor_EliosisHunt!_tailMerge_steam_api64_dll() UE4Editor_EliosisHunt!CSteamAPIContext::Init() [c:\program files\epic games\4.11\engine\source\thirdparty\steamworks\steamv137\sdk\public\steam\steam_api_internal.h:92] UE4Editor_EliosisHunt!CSteamLeaderboards::FindLeaderboard() [c:\unreal files\eliosishuntworkspace\eliosishunt\source\eliosishunt\private\csteamleaderboards.cpp:19
What am I doing wrong?
Thanks in advance.
Follow this question
Once you sign in you will be able to subscribe for any updates here