I’ve upgraded my project from Unity 4.6 so that it will open in Unity 5. Everything worked perfectly in 4.6. Upon starting my game in Unity 5, I get “transform.position assign attempt for ‘[…]’ is not valid. Input position is { NaN, NaN, -0.000000 }.” errors for each of my characters in the scene.
Firstly, should this error be also telling me which script/line is the culprit? Presently it isn’t, which makes figuring this out more difficult. If the rigidbody is made to be kinematic, I don’t get the error. I’ve read elsewhere that this is usually caused by dividing by zero. I’ve tried starting the game with all of the scripts attached to my character made inactive and the error still occurs.
This all makes it seem like this is a Unity bug, but I could be missing something. If someone has more insight about what might be the problem, I’d appreciate learning.