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

Steamworks.SteamApps.OnNewLaunchParameters is never called #553

Open
Pyroka opened this issue Apr 22, 2021 · 0 comments · May be fixed by #709
Open

Steamworks.SteamApps.OnNewLaunchParameters is never called #553

Pyroka opened this issue Apr 22, 2021 · 0 comments · May be fixed by #709
Assignees

Comments

@Pyroka
Copy link

Pyroka commented Apr 22, 2021

Steamworks.SteamApps.OnNewLaunchParameters is never called because the events are not registered in SteamApps.

SteamApps has an InstallEvents method but it is never called. I managed to fix this in my own project by calling SteamApps::InstallEvents via reflection.

To reproduce:
Hook up a some code to the SteamApps::OnNewLaunchParameters callback
Launch the game
Run steam://run/<AppID>//+some,arguments
The code in the callback is not run

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

Successfully merging a pull request may close this issue.

2 participants