Open jan opened 12 months ago
I'm having the exactly described issue as well. Unity 2021.3.23f1
I'm also interested in basic webgl support if possible.
You can get around the duplicate library build error above simply by deleting the win32 libraries if you are not worried about that legacy support? But when the webgl window opens it cannot find the correct dll to use at runtime - since likely none are checked for webgl in the import setting meta files. I'm not sure what the right answer is - has anybody gotten the SteamClient.Init to work in webgl?
Perhaps another approach is to call steamworks web apis directly and use openid login if you just need the steam id and friends list and a few simple calls? https://partner.steamgames.com/doc/webapi_overview
Hey Garry, first: thanks for your work on Facepunch.
I am not sure if it should work for WebGL, but for me it does not:
Describe the bug A clear and concise description of what the bug is.
Building for WebGL fails with errors like:
(And same for each other Facepunch class I use.)
To Reproduce Steps to reproduce the behavior:
Unity
folder intoAssets/Plugins/Facepunch.Steamworks
Face Test
and assign a new scriptFaceTest
(code see below).Calling Code
Expected behavior I'd expect it to build successfully.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.