Search Feedback

0
votes
Started

Hot plugging joysticks - needs fixed for builds

Input

-

-

It is not possible to play with a joystick/controller AFTER the game starts. This applies to builds of the game. See the thread over at http://forum.unity3d.com/threads/151349-Game-Controller-that-works-with-Unity?p=1055934&viewfull=1#post1055934 for more details.

From user Guavaman in the thread:

Windows:
Hot plugging does not work at all in game builds.
It is impossible to reliably get a joystick ID to map controllers for players.

OSX:
Hot plugging does work in 32-bit builds. OSX is the only platform to support hot plugging in-game.
Joysticks do not work at all in 64-bit builds.
You can reliably get a joystick ID, but you have no control over how these ID shift and change as other controllers are (un)plugged. This makes it impossible to reliably map players to specific joysticks.

Linux:
Hot plugging does not work at all.
It is impossible to reliably get a joystick ID to map controllers for players.

Response avatar

ElvisAlistar

May 20, 2014

Someone is already working on a fix for a patch release of Unity (hopefully 4.3). Keep an eye on http://issuetracker.unity3d.com/issues/standalone-controller-connection-failure to see when the issue is fixed and in which Unity version will have it.

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)