Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Car wheels not turning only on x86 Windows Store build

Discussion in 'Windows' started by pumpkinszwan, May 25, 2014.

  1. pumpkinszwan

    pumpkinszwan

    Joined:
    Feb 6, 2014
    Posts:
    214
    I have a car, which has 2 wheels controlled via a script...the wheels turn, which moves the car.

    This works fine in the Unity editor, on Windows Phone, and on Windows 8.1 (ARM, store app), and stand-alone web version, but doesn't work on Windows 8.1 (x86, store app).

    Any ideas why this would behave differently in the x86 build? I don't even know where to look. Using breakpoints I can see that all my values are as expected. The code is below. The two wheels get the correct speed but don't turn (they are attached to the car by hinge joints). The is no conditional compiling of different code for different platforms. Debugging is Visual Studio doesn't throw any errors.

    Code (csharp):
    1.  
    2.             currentSpeed = (-speed * signalStrength / 100) * directionMultiplier;
    3.             motor.motorSpeed = currentSpeed;
    4.             motor2.motorSpeed = currentSpeed / 1.5f;
    5.             wheels[0].motor = motor2;
    6.             wheels[1].motor = motor;
    7.  
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,627
    That's strange. Can you minimize your project to the simples possible repro case and submit a bug report?
    Thanks.
     
  3. pumpkinszwan

    pumpkinszwan

    Joined:
    Feb 6, 2014
    Posts:
    214
  4. pumpkinszwan

    pumpkinszwan

    Joined:
    Feb 6, 2014
    Posts:
    214
    Aurimas,

    I submitted a bug report, and one of your colleagues responded very promptly to let me know the issue is fixed in Unity 4.5. I can't wait for the update!