``AssetArray`` class doesn't support pointers
Reporter: k0T0z | Status: open | Last Modified: April 07, 2024, 09:54:49 am The
AssetArray
class needs to support pointers.
For example, this line
fails.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.
R0bert — 29/09/2023 18:58
that error is pretty simple though, yeah assetarray don't handle pointers yet
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.
Leave a commentView this issue on GitHub
Please sign in to post comments, or you can view this issue on GitHub.