RT: Drastic performance drop on plugging in Joystick

Heho,

when I plug in a joystick on my RT device I experience a drastic performance drop from 45 frames to 20 without any known reason.
Sadly I can’t get the profiler running atm, do you have any ideas?
On my desktop and in the editor performance is not affected.

Best,

Thomas

RT devices are much slower, so any performance issues are much more noticeable there.
I think you should look for code in your scripts, that is affected by joystick presence (input related code). Just plugging in joystick should not have significant effect to performance.

Heho,

I just built a sample project. I contains nothing but a rotating cube and a framecounter. Without joystick the RT devices makes 48 frames, with a joystick it makes 28. There is no joystick code in the project at all. It is a Unity 4.3.3f Win 8.0 project, XAML C#, debug build. On master build frame count does not change significantly (+/- 2 fps).

Looks a bit too much and I from a quick look don’t see a reason for this. Can you submit a bug, then we can do more investigation?

Done, [592280].

What kind of joystick it is? Because Unity will ignore any joystick except Xbox Controller.

Yeah it’s an XBox 360 controller, and thanks for that information, I wasn’t aware of that. At least now I don’t have to worry about different button layouts :slight_smile: