Check if UNITY_WSA in AttachToController
See original GitHub issueOverview
Loaded current dev branch and receive two errors on attempting to build.
First error (see below) is presumably a missing reference in AttachToController. Can be fixed by adding a using statement:
using UnityEngine.XR.WSA.Input;
Expected Behavior
No errors.
Actual Behavior
Errors.
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'InteractionSourceHandedness' could not be found (are you missing a using directive or an assembly reference?) MixedRealityToolkit-Unity MixedRealityToolkit-Unity\Assets\HoloToolkit\Input\Scripts\Utilities\AttachToController.cs 17 Active
Steps to reproduce
Build current dev branch.
Unity Editor Version
2017.2.0p2-MRTP5
Mixed Reality Toolkit Release Version
Dev working branch
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Check if controller is plugged or not on Input System
Hello everyone, I'm trying to implement a system where I can detect if the gamepad is plugged and not, and be able to...
Read more >WSA Player Settings - Manual
Every Windows Store App needs a certificate which identifies a developer, Unity will create a default certificate, if you won't provide your own....
Read more >HP Reverb G2 Controllers in Unity - Mixed Reality
Learn how to setup and use the new HP Reverb G2 Controllers in SteamVR and Windows ... Each MotionController instance has an XR.WSA.Input....
Read more >Manual: Platform dependent compilation
First of all, select the platform you want to test your code against by going to File > Build Settings. This displays the...
Read more >Either Windows or Unity is limiting my game to only detect ...
Either Windows or Unity is limiting my game to only detect 4 controllers, should be able to support more right? Possibly Windows issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe this happens when the project is targeted to anything besides UWP.
Looks like GitHub didn’t automatically close these issues when merged into master. I’ll close these manually and look into why.