- Home /
Question by
Digibot1999 · Nov 27, 2018 at 05:41 AM ·
c#inputxboxcontroller
Unity not detecting Xbox one controller, but Windows 10 is
Hi, I am currently using Unity 2018.2.17f1 and the latest version of Windows 10 the Device Manager in Windows detects my Xbox one controller, but when I call my unity script(s) it does not show any input sources
Windows Device Manager Picture
Code Checking if controller is connected:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class temp : MonoBehaviour {
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
Debug.Log("Joy Stick Length " + Input.GetJoystickNames().Length);
}
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612182838im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
One Xbox Controller Is Affecting All Players 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
C# Touch Script - Fix GameObject touch. 0 Answers
Using Oculus headgear position as input. 0 Answers