OnTriggerEnter only called at start

Does this function need to be called in the update function? If so, what parameter do you pass with multiple possible objects? If something spawns at its location, this works, but other than that it fails.

function OnTriggerEnter(other : Collider) 
{
	if(other.gameObject.tag == "theone")
	{
		//transfer information
	}

}

You don’t need to call OnTriggerEnter, it’s called for you - but you do need at least one of the things involved to have a rigidbody attached that is not sleeping.

this function is called automatically when the object(to which this script is attached) enters the collision. at least one of the colliding objects should have a Rigidbody attached.

I had the same problem. I have moved the object which enters the trigger with transform. You have to move the object with velocity instead for it to work.