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
AssetArray
class doesn't support pointers
#2366
Comments
AssetArray
class doesn't support pointers
The AssetArray.h file contains the following lines : template<typename T, int LEFT = 0>
class AssetArray I think this should not produce errors if LeaderboardFindResult_t* is a valid type Can you guide me on how to reproduce this error ? |
You can reproduce it by uncommenting this line gc_leaderboards_score_downloaded_cookies.cpp#L109 or gc_leaderboards_find_result_cookies.cpp#L58 or gc_leaderboards_score_uploaded_cookies.cpp#L62. I am not familiar with this class anyway, it is mentioned by Robert on the community. Robert is not available at the moment, though.
|
I have tried to uncomment these lines, but i face no issues / failure. Is this issue fixed ? |
@sidling1 You should use the leaderboard API to reproduce the crash |
In the Steamwork demo game, I used the Leaderboard part, which uses the Leaderboard API ig. I even put Debug Messages around these lines, and they ran without any problem/ error showing up, and the debug messages showed normally. |
The
AssetArray
class needs to support pointers.For example, this line
enigma-dev/ENIGMAsystem/SHELL/Universal_System/Extensions/Steamworks/leaderboards.cpp
Line 48 in 3918af3
The text was updated successfully, but these errors were encountered: