Ive got a horrible problem, it is that my game purely dose not work and here is how it got to this point.
It began like any normal day but unity froze so i had to close it… but after re opening it it has died it just dosent play on any platform even builds its nearly like it only plays the first frame then stops. Their is only one script that could have resulted in this problem but it used to work and i dont think it had any problems.
// Input.mousePosition
//Input.GetTouch(0).position
function FixedUpdate()
{
var ray = Camera.main.ScreenPointToRay(Input.mousePosition);
var hit: RaycastHit;
if (Physics.Raycast(ray, hit))
{
var point: Vector3 = hit.point;
point.y = 1.5;
transform.LookAt(point);
transform.position = (point);
}
}
Oh and it isent a problem of the editor number as i built it with the developer preview and yester day it happend and today i got actual 3.5 and after installing it still dosent play?
dose anyone know how to solve such a problem? or if someone could please test my source? PM me if you are willing to try it to see if it will play.
Thanks