`Terrain:ReadVoxels()` should specify the max `Region3` size allowed

Currently, as of 5/18/23, the documentation for Terrain:ReadVoxels() does not specify the max size allowed for the Region3 passed into it. It should specify this so developers don’t have to do guess-work!

Page URL: https://create.roblox.com/docs/reference/engine/classes/Terrain#ReadVoxels

We’ve filed a ticket into our internal database for this issue, and we will update you when we have further information!

Thanks for flagging!

2 Likes

Hello @Noble_Draconian, the limit is currently 4194304 voxels^3, and I updated the documentation as well. Thank you for flagging!

2 Likes

I just checked, the docs are still missing the size limit under ReadVoxels.

It’s under Region3, can you try a hard refresh on the page?

2 Likes

Yep that did the trick! Thanks :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.