Behavior in editor (working as desired): Undesired and inconsistent behavior in build:
The player can move grabbed parts on their local z-axis using the touchpad. The behavior works as expected, and consistently, in the editor. But the behavior breaks in the build. Sometimes the object travels up and down, or sometimes diagonally.
Here is the code in question:
if(controllerEvents.GetTouchpadAxis().y > 0 && (controllerEvents.GetTouchpadAxis().x < 0 || controllerEvents.GetTouchpadAxis().x > 0))
if (currentObject != null)
currentObject.localPosition -= currentObject.forward;
I cannot for the life of me understand why the behavior would not be consistent between the editor and the build.
Using Unity 2017.4.10f1 and using the latest OVR utilities.
Any help would be appreciated!