Skip to content

WebView2 based app and Steam Overlay #3200

Description

@Elanis

Hello !

I'm currently building an application using Tauri which uses WebView2 under the hood .... and I'm stuck on a pretty huge issue with Steam Overlay. It looks like it doesn't hook up to my app. Tauri team agree that doesn't look like an error on my side or their.

Here's what Steamworks Documentation says about Steam Overlay:

Your game does not need to do anything special for the overlay to work, it automatically hooks into any game launched from Steam! While in development and running your game in a debugger, the overlay is loaded when you call SteamAPI_Init. As such you'll need to make sure to call SteamAPI_Init prior to initializing the OpenGL/D3D device, otherwise it won't be able to hook the device creation.

The overlay supports games that use DirectX 7 - 12, OpenGL, Metal, and Vulkan. The overlay will not be active in software-rasterized games.

Does anyone here have knowledge about internals and rendering of Webview2 and can tell me why this doesn't work ? (Or at least, if you have a small idea, it would help me a lot 😄 )
It works with a chromium based app (Electron, nw.js), but not with Tauri (WebView2 based), from my own experience on this.

Thanks.

PS: see this Tauri issue if you want more informations: tauri-apps/tauri#6196

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions