Hey guys, so I can manipulate static variables in a class that holds all my between scene information (such as which controller is controlling which unit etc.) However, this functionality only exists when play the game in development, as soon as I publish it, it seems to no longer work, as soon as I get to a line of code that tries to manipulate the static variables, I.e.:
stats.Controllers[0] = 1;
(Here I’m accessing the class which has the static variable, and adjusting it so controller[0] is searching for input from input device 1.)
The code just gets ignored for the rest of the section, if I have lines after it they are not called at all.
Does anyone have a possible solution?