Unit Tests FailingSee original GitHub issue
In a new clone of the project, most unit tests are failing. The two successful tests are:
After some debugging I found the bug inside the InitClient() method of Facepunch.Steamworks.Interop.NativeInterface.
Inside of this method the calls to Valve.Interop.NativeEntrypoints.Extended.SteamAPI_GetHSteamUser() and Valve.Interop.NativeEntrypoints.Extended.SteamAPI_GetHSteamPipe() both return zero.
That triggers the
if ( pipe == 0 ) return false; guard clause which prevents client initialization.
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
I was having this issue today. Turns out I set Steam to always run as admin because it complains about needing it to install a service every time. When I run VS as admin most of the tests that were failing due to SteamAPI_Init pass. In this case Unity also needs to be run as admin.
Anyone else having these issues?