C# script not working on windows 8!

I am trying to move a box along a track, and detect waypoints to tell it where to go. Unfortunately, I have yet to even script that far, as for some reason when I try to define the direction for my character controller to move, it is being buggy. I am trying to use CharacterController.Move to move the object, and I have tried a few different things so far. The base idea of my script is as follows:

As far as I am aware, this line of code should move an object along the z axis by the float of the track speed multiplied by Time.deltaTime.
_controller.Move (new Vector3 (0, 0, trackSpeedBase * Time.deltaTime));

When I use just the track speed variable, it moves my object along the z axis, but much too quickly. And when I add the Time.deltaTime, which for me is a must in this case, it for some reason starts to move along the y axis at the same speed it was moving along the x, though the z axis does move at the proper speed.

Is there something I am missing? Does this line also somehow effect the y axis? Because I would love to know why I feel so stupid right now :stuck_out_tongue: Someone please get back to me if there is any more info I can give. As for the rest of my code, I scripted the waypoint finding section first, but its not being called yet.

Edit: Might help if I actually put in my script :stuck_out_tongue:

using UnityEngine;
using System.Collections;

public class PlayerTrack : MonoBehaviour {
public Transform waypointFinder; //Holds the transform for the players waypoint finder.
public GameObject curWaypoint; //Holds the currently targeted waypoint, controlled by FindNextWaypoint.

public float trackSpeedBase = 5;

private Transform _myTransform; //Holds the local cache for the objects transform.
private CharacterController _controller; //Holds the object’s character controller.

private Vector3 _moveDirection; //Holds the vector3 defining movement direction.

public void Awake ()
{
//Set _myTransform to the objects transform.
_myTransform = transform;
//Set _controller to the objects character controller.
_controller = gameObject.GetComponent();
//Set _moveDirection to move along the z axis by trackSpeedBase by default.
_moveDirection = new Vector3 (0, 0, trackSpeedBase);
//Sets _moveDirection to the same direction as the playerTrack.
_moveDirection = _myTransform.TransformDirection(_moveDirection);
}

void Start ()
{

}

void Update ()
{
//Calls a LogWarning if there is no waypoint finder detected.
if (waypointFinder == null)
Debug.LogWarning (“No waypoint finder detected!”);

ToNextWaypoint ();
}

public void ToNextWaypoint ()
{
_controller.Move (_moveDirection);
}

public void FindNextWaypoint ()
{
float distance = Mathf.Infinity;
GameObject[ ] waypointMarkers = GameObject.FindGameObjectsWithTag (“MovementWaypoint”);

foreach (GameObject go in waypointMarkers)
{
float curDistance = (go.transform.position - waypointFinder.transform.position).sqrMagnitude;

if (curDistance < distance)
{
distance = curDistance;

curWaypoint = go;
}
}
}
}

Develop for Windows 8 is a fucking shit. I advice you to change platform.