SyntaxFix
Write A Post
Hire A Developer
Questions
You are creating an array of null references. You should do something like:
for (int i = 0; i < houses.Count; i++) { houses[i] = new GameObject(); }