Hello, I'm new here, not with much experience with coding, i was working with some Script everything was working i take a little rest, when i come back, i got this error and I don't get what is wrong. In the script I create the Int[,] I made it equal to another int[,], but when i try to access it it tell me that it doesn't exist.
Here an image of the error and the code to show what's going on
I already checked and the P2Lab.LabMatriz exist, so there is not the problem. All point to MatVirt variable, but i really don't get why It doesn't exist in that point.
Well i found part of the problem, when this Start() happen, P2Lab.LabMatriz is null, on the other script I fill LabMatriz also in an start() Function, the two scripts are attached to the same object, It was working before, so i don't get why its not right now, so ¿how to get one script work before the other? ¿Awake?
thanks
![alt text][1]
[1]: /storage/temp/86345-errorraro.png
↧