Answer the question
In order to leave comments, you need to log in
Why might the order of elements in an array be wrong?
Good afternoon forum! While checking out my game on my phone, I noticed that some of the objects I had arrayed with FindGameObjectsWithTag were not in the correct order. For example, if in the editor I have objects 1, 2, 3, 4, then during the check in the editor itself they will be in the correct order 1 - 2 - 3 - 4, and on the phone the objects are already in the order 4 - 1 - 2 - 3 or 3 - 2 - 4 - 1 which breaks the whole game. Please tell me what could be causing this error?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question