Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

Xcode crashes on multidimensional bool array (bool[,,])

$
0
0
I've got a project which uses a 3-dimensional boolean array, which runs fine in the editor. But once I port it to an iPad (through xCode) I get a "Random" crash on a valid index. Details: through debugging, I've gotten it down to the last line here: bool A[,,] = new bool[2,3,3]; A[0,0,0]=false; // fine, editor and Xcode A[0,1,2]=false; // fine up to here A[0,2,0]=false; // fine in editor, functionally tested // Crashes xCode/iPad: out-of-range-exception Running Unity4.5 with xCode 5.1 ...and I'm answering my own Q:

Viewing all articles
Browse latest Browse all 1047

Trending Articles



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