How do I go to "CaveRoad2" Scene and set the location of the object?

This code moves the object to a strange location other than (0, 0, 0). I matched the tag well with Player, and I think the other settings went well, but I think there’s a problem with the code itself. I’d appreciate your help.

using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Road1ToRoad2 : MonoBehaviour
{
    private bool isPlayerOnPortal = false;

    private void OnTriggerEnter2D(Collider2D other)
    {
        if (other.CompareTag("Player"))
        {
            isPlayerOnPortal = true;
        }
    }
    private void OnTriggerExit2D(Collider2D other)
    {
        if (other.CompareTag("Player"))
        {
            isPlayerOnPortal = false;
        }
    }

    private void Update()
    {
        MovingPortal();
    }

    void MovingPortal()
    {
        if (isPlayerOnPortal && Input.GetKeyDown(KeyCode.UpArrow))
        {
            SceneManager.LoadScene("CaveRoad2");
        }
    }

    void Start()
    {
        // 이벤트 핸들러 등록
        SceneManager.sceneLoaded += OnSceneLoaded;
    }

    void OnSceneLoaded(Scene scene, LoadSceneMode mode)
    {
        // 이벤트 핸들러 제거
        SceneManager.sceneLoaded -= OnSceneLoaded;
        // 씬이 로드되면 오브젝트의 위치를 변경
        GameObject player = GameObject.FindWithTag("Player");

        if (player != null)
        {
            player.transform.position = new Vector3(0f, 0f, 0f);
        }

    }
}