Search Feedback

11
votes

controller

Input

-

-

I would like an option in which Unity will recognize a controller when you connect them to your computer. I currently need to restart Unity each time I add a controller.

Comments (1)

  1. 233d66a35a0119ae16bd72a40a16ebc0?d=mm

    Guavaman

    Dec 14, 2011 00:23

    This is made worse by the fact wireless controllers can shut themselves off after a while if a player gets up and leaves his computer. When he comes back, Unity will not redetect his controller and he'll be forced to quit and restart. Of course, he probably won't even know what's happening because there's no way to even detect a removed controller event and display a message. (I supposed technically you could check Input.GetJoystickNames() every frame and compare size, but that worsens garbage collection getting the new returned string every frame.)

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9031)

2D

(221)

Ads

(40)

AI & Navigation

(67)

Analytics

(92)

Animation

(304)

Asset Store

(222)

Assets

(489)

Audio

(157)

Cloud Build

(94)

Collaborate

(31)

Docs & Tutorials

(197)

Editor

(2084)

Everyplay

(13)

Game Performance Reporting

(12)

General

(810)

Graphics

(761)

GUI

(363)

Input

(145)

Licensing

(73)

Networking

(158)

Physics

(341)

Platforms

(402)

Profiling & Optimization

(69)

Runtime

(161)

Scripting

(1014)

Terrain

(152)

WebGL

(131)