- Cannot cast None to an Array. This is not rejected by the compiler, but it causes a ton of error messages in the logs at run time.
- Cannot create a zero length array. Something like "Actor[] ActorArray = New Actor[0]" is rejected by the compiler.
In other words, there is no way at all to correctly handle an empty array. Furthermore:
Int Size = 10
Actor[] ActorArray = New Actor[Size]
Is also rejected as the array size has to be known at compile time. Forcing some ridiculous utility functions to be implemented to get dynamically resizable arrays.
Seriously?
(And don't get me started with the lack of a For() loop construct. So many bugs from forgetting to increment the index at the bottom of a While loop...)
So with all these issues, is there that much of a slowdown with setting up an empty FormList in the Creation Kit and using that instead of an array.