Hmm, I wonder if it's because I didn't change the type of the array to 'Object'. It was on float and ever since I changed it, the error is gone. If this was the solution, I wonder if you guys can show a more clear error than the one Unity throws?
Thanks,
jrDev