[URGENT] WebGL export completely different from editor playtesting. [C#]

I entered a competition the other day, and just recently found out I had a few problems. I submitted the project half an hour before the deadline, close to midnight, but was super tired and just went to bed. Unbeknownst to me, the exported version of the game had several problems, all of which were not present in the editor. They all seem to happen in my Controller script. The problems are these:

  1. A two-dimensional array works fine in the editor, but the values constantly mix themselves up when it’s exported. E.G. what should be [[1,1,1],[0,0,0],[0,0,0]] in the editor acts as [[1,1,1],[1,1,0],[0,1,0]]
  2. I have a Mute function to mute certain sounds if the player so desires, but it does it as soon as it gets instantiated in the editor. However, in the player, there is just a bit of lag.

Is there any way I can fix these problems? As I said before, judging is underway, so I want to finish this before that happens in the next few days.

So it turns out the problem was that I had a faulty for loop. Not a unity bug at all. As for the sound effects, it is literally just lag. I fixed it by making it instantiate a Silent version of the sound effect instead.