-
Notifications
You must be signed in to change notification settings - Fork 344
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
Build fails for WebGL: The type 'SteamClient' exists in both Win32 and Win64 #735
Comments
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? |
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.
The text was updated successfully, but these errors were encountered: