Steamworks.NET icon indicating copy to clipboard operation
Steamworks.NET copied to clipboard

CallResult GetUserItemVoteResult_t never call

Open STmihan opened this issue 1 year ago • 0 comments

Hello, it looks like CallResult<GetUserItemVoteResult_t> doesn't work on version Steamworks SDK 20.1+. My code is

private CallResult<GetUserItemVoteResult_t> _getUserItemVoteResultCallResult;
...
_getUserItemVoteResultCallResult = CallResult<GetUserItemVoteResult_t>.Create((t, failure) =>
{
    Debug.Log($"GetUserItemVoteResult_t: {t.m_eResult}");
    _userItemVoteHandles[t.m_nPublishedFileId] = (!failure && t.m_eResult == EResult.k_EResultOK, t);
});
...
_getUserItemVoteResultCallResult.Set(steamAPICallT);

Debug.Log from the callback is never called. The same code works for me with version 20.0. It may be the same with SetUserItemVoteResult_t too, but I didn't check that.

STmihan avatar Dec 08 '23 05:12 STmihan