Hi Guys,

I'm facing an issue when making a large array where it reports in the editor that it is a NIL array. This is the code I'm using to test this;

var data = PoolRealArray() var index = 0 while(index < 5000000): data.push_back(0.0) index += 1

It runs okay (takes about 30 seconds of course) but the editor shows this in the inspector;

Could it be just a problem with the editor showing the large array? Seems the biggest it will show is about 1,000,000. I just want to be sure the data I'm loading from a file is actually saving okay.

Thanks.

Even though the editor shows shows the array as NIL, I can verify the array is the correct size like this;

var length = data.size()

However it returns a size of 0 if the data is within a class like this;

class myClass: var data = PoolRealArray()

I've found the arrays sometimes don't work when within a class.

a year later