Announcement

Collapse
No announcement yet.

Is there a limit to the number of elements allowed in array?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there a limit to the number of elements allowed in array?

    I have an array of integers which keeps a tally of the total of each collectible in my game. Every month, my team runs an update which increases the number of collectibles available. As of this month, we have 86. When I test this, it tells me that the new collectibles are not tallying, and when I look at the output log, it states it has exceeded the lenth of 75. Is there a cap on the total elements allowed per array?

    #2
    the Hardware is the limit.
    As long as Memory is left, you can fill up the array..

    My 3D Tilemap Array currently stores a struct (4 ints, 4 floats, 6 bool, 2 vectors) with a length of 320*320*4 Positions.. and only consumes 1.4GB.

    Comment

    Working...
    X