Cinemachine Vcam follow problem

Hi, i have a cinemachine vcam following the player in my game, on the respawn point of the level everything is ok, the camera stick to the player and all is good.

when the player passes a checkpoint i reload the scene and give the player transform.position from a scene manager, but the Vcam doesn’t follow the player, only after i move the player the camera moves toward the player in a quick motion…any thoughts how to fix it??

@yehielc When you change the character’s position, deactivate vcam then activate it.

For example

public class Player : MonoBehaviour
public CinemachineVirtualCamera vcam;
private void OnTriggerStay2D(Collider2D collision)
{

 if (collision.transform.tag == "Spike")
    {
            transform.position = spike.position;
            vcam.enabled = false;
            vcam.transform.position = spike.position;
            vcam.enabled = true;
      }

}

,When you change the character’s position, deactivate vcam then activate it
For example

public class Player : MonoBehaviour
public CinemachineVirtualCamera vcam;

private void OnTriggerStay2D(Collider2D collision)
{
if (collision.transform.tag == “Spike”)
{
transform.position = spike.position;
vcam.enabled = false;
vcam.transform.position = spike.position;
vcam.enabled = true;
}
},Do vcam set active false after setactive true when you change your position