What does "transform.position assign attempt for "the object name" is not valid" mean?

I made a model which in my sepatate scene works as I want it to, but when I merge this model to an environment made by another guy and start the game the red warning pops up that says that assign attempt is not valid. What does it mean, why does it happen and how to fix it?

The error is thrown because the Vector3 that is being assign to the position property of the Transform is not valid. This happens when one or more of the x, y, z components of the Vector3 are:

  • Undefined (NaN)
  • Infinity
  • Negative Infinity

The error string should print the value of the Vector3 you were trying to assign.