Skip to content
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

CallResult GetUserItemVoteResult_t never call #588

Open
STmihan opened this issue Dec 8, 2023 · 0 comments
Open

CallResult GetUserItemVoteResult_t never call #588

STmihan opened this issue Dec 8, 2023 · 0 comments

Comments

@STmihan
Copy link

STmihan commented Dec 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant