Facepunch / Facepunch.Steamworks

Another fucking c# Steamworks implementation
MIT License
2.95k stars 354 forks source link

OpenWebOverlay Is Failing Silently #444

Open mattluard opened 4 years ago

mattluard commented 4 years ago

Hi Garry and friends, I can't get Steamworks.SteamFriends.OpenWebOverlay(url); to work outside of the Unity Editor. Inside the Unity Editor I can sometimes (but not always!? Maybe about 5% of the time) get the overlay and a web browser to open, like so:

image

But when I build it, no such luck: 100% of the time OpenWebOverlay doesn't work. I click the button/call OpenWebOverlay... and nothing happens. I don't think I'm doing anything particularly unusual, the url is a fully-qualified, https location, specifically https://cranktrain.com/guild if that matters.

I've uploaded the build through Steampipe, run it from Steam itself on a separate Steam test account with a granted key... and still no luck. When launching from Steam, I can bring the Overlay up with Shift+Tab but no Browser is there.

Strange that the closest I can get it to work is in the Unity Editor itself, right? (And again, only very rarely.)

For what it's worth I've got Steam Inventory Item features setup, I'm querying the inventory, displaying items, asking Steam for random item drops - all things that are a bit more complicated than a simple OpenWebOverlay call, and all things that work successfully.

I don't suppose it has anything to do with this recent issue? I don't see why it should because I don't have any error messages.

For reference I'm on the latest 2.3.2 release of Facepunch.Steamworks, and using Unity 2019.3.13f.

AlSqPg commented 2 years ago

Has no effect for me in, either in unity or build.

AlSqPg commented 1 year ago

To add, it does work when steamworks is properly initialsed for me in the build