Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

ArgumentOutOfRangeException: Argument is out of range. Parameter name: index

$
0
0
That error really like an annoying kid. First I tried public string[] debugstrings; and when I do this; debugtext.text = debugstrings[1]; I want to delete first element of array. But why I don't know C# doesn't supports the normal array functions like RemoveAt(); And I tried with ; public System.Collections.Generic.List debugstrings; That works perfectly. But when I want debugtext.text = debugstrings[1]; There are an error.. :'< ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System.Collections.Generic.List`1[System.String].get_Item (Int32 index)..... Why this happening and what is this. Why unity doesn't make any real solution for arrays? Thats a small thing and I must focus other important things. But why I must get an error every time? Why this happens..? Please help..

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>