-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
Steam Timeline event parameters needed in wrong order #639
Comments
Hmm it's passed as such in SpaceWar; I don't see any place that it could have gotten swizzled.
isteamtimeline.h:
|
Yeah it all looks good, which is confusing. I'd assume I have messed up somewhere, but you can see in the images I sent how I am calling The in-game image is when using I wonder if there is a mistake here on Valve's end? |
If you'd have any time to try out SpaceWar from the SDK that would be interesting |
I took a look at building the Test project, built it and added steam_appid.txt with 480. Do you have suggestions for what I need to do to be able to open steam overlay when running the Test project built .exe? I'm sure it's worked when running builds of my game that aren't pushed to Steam, but doesn't seem to work in this case. |
This might have something to do with the way the steam client caches the custom icons for the timeline. I just tested this on two machines with the same build. The first is the machine which is used for the development of the game. On this machine, I encounter the same thing (and also the custom icons get ignored). On another machine however, if I install the game via steam, the icons appear (and the title and description appear in the right order). I have no idea how this could be connected. But maybe someone else can make some sense of it. |
Same Steam client build running on both? |
I'm on Steam Beta Update, maybe it's different for the Steam Families Beta client version? |
Bullseye! Updating to the same client version 1724453533 (Aug 24) fixed it on the other machine. Thanks for pointing this out. |
Just tested it on 1724453533 and you're right. |
It looks like AddTimelineEvent() in SteamTimeline needs the parameters to be passed in in a different order than expected to work.
This would result in an incorrect ordering of parameters, leading to event icons not working and information of events in Steam Timeline in game being in the wrong places:
SteamTimeline.AddTimelineEvent(eventKey, title, description, frontToBackPriority, startOffsetSeconds, durationSeconds, possibleClipPriority);
The ordering that is actually required for events to work correctly:
SteamTimeline.AddTimelineEvent(description, eventKey, title, frontToBackPriority, startOffsetSeconds, durationSeconds, possibleClipPriority);
I've attached some images with examples showcasing this.
Note how the event icon key, title and description are in the wrong places when using the expected ordering
It looks to be correct in Steamworks.NET's isteamtimeline.cs, so I'm not too sure where the problem lies.
Thanks!
The text was updated successfully, but these errors were encountered: