rlabrecque / Steamworks.NET

Steamworks wrapper for Unity / C#
http://steamworks.github.io
MIT License
2.81k stars 368 forks source link

ShowFloatingGamepadTextInput Causing EntryPointNotFoundException #507

Open ARobbins67 opened 2 years ago

ARobbins67 commented 2 years ago

Any attempt to access ShowFloatingGamepadTextInput produces the following error:

EntryPointNotFoundException: SteamAPI_ISteamUtils_ShowFloatingGamepadTextInput Steamworks.SteamUtils.ShowFloatingGamepadTextInput (Steamworks.EFloatingGamepadTextInputMode eKeyboardMode, System.Int32 nTextFieldXPosition, System.Int32 nTextFieldYPosition, System.Int32 nTextFieldWidth, System.Int32 nTextFieldHeight) (at Library/PackageCache/com.rlabrecque.steamworks.net@53d1718058/Runtime/autogen/isteamutils.cs:335) TempSteamHelper.OnGUI () (at Assets/Scripts/Steamworks.NET/TempSteamHelper.cs:34)

I have tried passing in different argument values and it still produces this error. Any help is greatly appreciated.

rlabrecque commented 2 years ago

Hey @ARobbins67, can you confirm that you're using the exact same steam_api[64].dll that ships with the version of Steamworks.NET that you are using?

It could be that you have an older dll being used instead. This could happen if you upgraded especially from pre-Steamworks.NET 20.0.0, or it could be that your steam_api.dll is not getting updated in your output folder.

ARobbins67 commented 2 years ago

@rlabrecque Yup that fixed it. I just replaced it with the one from Steamworks.Net-Example. Thanks!

rlabrecque commented 2 years ago

Can you describe how you ran into this exactly? It should "just work", but what could Steamworks .NET done differently to help with this?

Was it happening in the editor? Happening only in a built client?

ARobbins67 commented 2 years ago

@rlabrecque We just removed the original steamworks files from the project and downloaded the new one from your Github link. Not sure how this could be improved other than automatically replacing the .dll files.