Game loads and then boom. Crash.
Except
here.
An AI house tries to generate a list of buildings to build. The fourth item (index 3) in that list seems to be invalid. Might be the refinery for that house, but i'm not sure.
Actually. That makes perfect sense. Explains why the AI didn't do a damn thing when it didn't crash.