Cannot access private member on adding to TArray

Not sure exactly what the problem is but one thing is certain: you can’t declare an array of objects like that. They need to be object pointers.