OnSerializeNetworkView lead in NaN,NaN,NaN error??

Hey there

Input position is { NaN, NaN, NaN }

this is the script for these error:

void OnSerializeNetworkView(BitStream stream, NetworkMessageInfo info){
		if(stream.isWriting)
		  {
		   stream.Serialize(ref CurrentPosition);
		   stream.Serialize(ref CurrentRotation);
		  }
		  else
		  {
		   stream.Serialize(ref CurrentPosition);
		   stream.Serialize(ref CurrentRotation);
		  }		
	}

this doesn’t work too

void OnSerializeNetworkView(BitStream stream, NetworkMessageInfo info){
		if(stream.isWriting)
		{
		stream.Serialize(ref CurrentPosition);
		stream.Serialize(ref CurrentRotation);
		}
		else
		{
		stream.Serialize(ref CurrentPosition);
		stream.Serialize(ref CurrentRotation);
		OutsideView.transform.position = CurrentPosition;	
		OutsideView.transform.rotation = CurrentRotation;
		}		
	}

currentPosition is {NaN,NaN,NaN} but currentRotation works fine.

anybody can help me??

thanks

+1