Steamworks.NET
Steamworks.NET copied to clipboard
CallResult GetUserItemVoteResult_t never call
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.