M
M
Mikhail Zakharov2014-09-17 23:35:04
Debugging
Mikhail Zakharov, 2014-09-17 23:35:04

Different behavior in Debug and Release modes in Unity3D?

Good day to all!
My problem is not at all trivial. To begin with, I will describe the initial data. I have 2 wireless gamepads (Xbox 360 controller) connected to my program (on Unity3d). For two gamepads, I implement different behavior. The first controller is the one on which the Start button is pressed. Accordingly, I read the X / Y-axis (upper left joystick) from both gamepads. Everything is done through the Input Manager. The latest Pro version of Unity3D is used.
Now the problem. If I build the program (under Windows x32) and run it, everything works fine. If I run the program from Unity3d (Play button), then the Y axis is inverted. For both gamepads. At the same time, if only one gamepad is connected, then everything (seemingly) works well.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2014-09-18
@zzz77

And you crutch it docs.unity3d.com/ScriptReference/Application-isEdi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question