Spawning at different locations

I want to set an object’s position to a vector I already know before the scene loads. Im using a json file to get the vector.

So it looks like you are using json for saving and loading : to send a vector between scenes(As that’s what you will need to do if you knew the vector before loading the scene you want to use it in), You can create a GameObject that will exist through the scenes, Then Create a script and you can name it VectorSender or whatever, now write this code in there :

public static VectorSender instance;
private Vector3 vector;

private void Awake()
{
    instance = this;
}

public void SetVector(Vector3 vectorValue)
{
    vector = vectorValue
}

public Vector3 GetVector() 
{
    return vector;
}

now from another script you could set the vector when you know the vector like this :

VectorSender.instance.SetVector(Vector3.zero);// make sure to put the vector you want instead of Vector3.zero.

And the script that is attached on the GameObject whose vector you want to set can easily set its own vector itself by doing this code :

private void Start()
{
    Vector3 vector = VectorSender.instance.GetVector();
    transform.position = vector; /// Assuming you wanted to set the position.
}