Why is my script not initializing in VR Chat even though it's working in game editor?

I’m making my first VR world so I can explore it through Meta Quest 2 or Oculus Rift.
I decided to make a script where I can change the positions of the existing game objects
I first made an empty game object called Testing so I can attach a script called ArrayTest
In the script I made a list called GameObjects[] pillars so that it can take in my existing pillars. It runs ok in my game editor. But when I built and uploaded it into VR Chat for testing, the pillars did not move at all and stayed in the same place.
What am I doing wrong?

Here is my screenshot

The Column game objects are in the list I was talking about

Here is the source code of my script

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

public class ArrayTest : MonoBehaviour
    public GameObject[] pillars;
    private Vector3 scaleChange = new Vector3(5.0f,1.0f,1.0f);

    private Vector3 positionChange = new Vector3(0.0f, 0.0f, 3.0f);

    private Vector3 currentPos;
    // Start is called before the first frame update
    void Start()
        Vector3 currentPos = pillars[0].transform.position;
        for( int i = 1 ; i < pillars.Length ; i++){
            pillars[i].transform.position = currentPos;
            pillars[i].transform.localScale = scaleChange;

    // Update is called once per frame
    void Update()

For VRChat issues as on the VRChat Discord