As ross said.
Index out of bounds probably means you have not set the arrays that hold the data to match the size of either your terrain blocks resolution or (more likely) the array that holds the blocks themselves. Ie, you are specifying 6x6 blocks but are trying to stuff 7x7 blocks into it.
If it's still having problems, please feel free to zip it up and email me a link (in confidence) and I will take a look for you and see what the problem is.
Can you post the section & line the debugger is failing on?
Index out of bounds probably means you have not set the arrays that hold the data to match the size of either your terrain blocks resolution or (more likely) the array that holds the blocks themselves. Ie, you are specifying 6x6 blocks but are trying to stuff 7x7 blocks into it.
If it's still having problems, please feel free to zip it up and email me a link (in confidence) and I will take a look for you and see what the problem is.
Can you post the section & line the debugger is failing on?