object name disappearing!!

Hi i am writing a bit of code so that when my character named: “Joe” runs into this object, it will print a string this is that:

void OnTriggerEnter (Collider col)
{
col.gameObject.name = charactersName;

	if(col.gameObject.name == "Joe")
	{
		print("yah");
		charactersName = "Joe";
	}
}

My Character has a box collider on it, and when the runtime starts… the name of the object disappears… Why is this???
58055-screen-shot-2015-11-12-at-91856-pm.png

this is where it disappears:

You are setting

col.gameObject.name = charactersName;

right before the if-condition. So if charactersName is empty (“”) the name of the game object got lost in OnTriggerEnter.