Comments (1)
Hrm yeah, I see, the issue is this line right here:
https://github.com/rlabrecque/Steamworks.NET/blob/master/Plugins/Steamworks.NET/CallbackDispatcher.cs#L275
Moving it above the try..catch block should return normal behavior.
It was moved below in 4cdc16a solely to be able to access the Handle property from within the CallResults. This in turn made SteamUtils.GetAPICallFailureReason() much more useful as you could use it like:
private void OnDownloadLeaderboardEntry(LeaderboardScoresDownloaded_t pCallback, bool bIOFailed) {
if (bIOFailed) {
ESteamAPICallFailure failureReason = SteamUtils.GetAPICallFailureReason(m_LeaderboardScoresDownloaded.Handle);
Debug.LogError("OnDownloadLeaderboardEntry bIOFailed = true. Reason: " + failureReason);
return;
}
}
A workaround would be to create a new CallResult<> in there.
I'll look into alternatives though and will likely revert that commit.
from steamworks.net.
Related Issues (20)
- Workshop problem on Mac
- Steam P2P messages are delayed by almost 60 seconds HOT 1
- [Leaderboards] SteamUserStats.GetDownloadedLeaderboardEntry() Errors HOT 3
- SteamNetworkingSockets.ConfigureConnectionLanes has incorrect parameter types; can't be called correctly HOT 9
- SteamNetworkingSockets.SendMessages has incorrect parameter types; can't be called successfully HOT 5
- SteamUGC.CreateItem returns k_EResultAccessDenied. Logs show wrong AppId? HOT 3
- SteamNetworkingMessage_t isn't an unmanaged type, blocking optimized API calls HOT 1
- Init fails on Steamworks SDK 1.59 with `Unable to find an entry point named 'SteamAPI_Init'` HOT 4
- Latest SteamWorks.NET Run SteamApi.Init() failed on Debian-x64
- HTMLSurface attempting to render invalid data HOT 3
- LobbyEnter_t.m_EChatRoomEnterResponse of type uint instead of an enum? HOT 1
- libsdkencryptedappticket cannot be loaded on Linux
- SteamUserStats.UploadLeaderboardScore pScoreDetails does not work
- Error CS0246 when compiling on non PC build
- Adding Multiplayer to game HOT 2
- can this be used in a WinUI project? HOT 3
- Error 4003 - CA key is not known to us HOT 2
- Callback number not found for struct Steamworks.SteamInventoryResult_t HOT 1
- SteamEncryptedAppTicket.BDecryptTicket does not correctly decrypt app ticket in Spacewar HOT 1
- SteamAPI_Init function doesn't exist in the steam_api64.dll from their sdk HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steamworks.net.