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
[0.9.0][Linux] 'SwitchProControllerHID' could not be found #733
Comments
I can confirm this bug. It prohibited me from compiling for Linux |
As a temporary solution (where you don't need switch support), you can get rid of it by simply commenting out that bit of code. |
|
In (Project Root)\Library\PackageCache\com.unity.inputsystem@0.9.0-preview\InputSystem\Plugins\Switch\SwitchSupport.cs comment out line 26-30. Should look like this: #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WSA
// InputSystem.RegisterLayout<SwitchProControllerHID>(
// matches: new InputDeviceMatcher()
// .WithInterface("HID")
// .WithCapability("vendorId", 0x57e) // Nintendo
// .WithCapability("productId", 0x2009)); // Pro Controller.
#endif |
Hello, |
This feels super related so instead of making a new issue I decided to revive this one. It seems like this issue has resurfaced again, though in this case it's an entire namespace that can not be found. This is in Unity 2021.3.7f1, Personal edition The line that is failing |
When trying to build a project for Linux, it fails with the error:
The text was updated successfully, but these errors were encountered: