I get this error whenever I use workspace:FindPartsOnRegion3() on a large Region3. Every. Single. Time.
The weird thing is that whilst this warning is being thrown, the region still returns normally.
You can see this happening on my game here. Just open F9.
What I’m doing in this game is creating 4 large regions around each plot to check if a model is in the bounds of a plot you’re allowed to build on. Each of these regions cover the whole entire baseplate to prevent people from building in random areas. Thanks to @ScriptOn, this was the only solution to my problem of model placing in boundaries (yes I have tried many other ways including getting the corners and checking if they’re in the bounds + having one region to check for each plot).
Here’s a screenshot of what I usually see in my output in Studio after testing:
Well, the warning says your region is too big.
Apparently the max dimensions are something like 100x10x100.
(Just an example, you could do 50x30x50 or anything where xyz <= 100000)
EDIT: Why does checking if all the corners are inside bounds not work?
But almost anything has a rectangle-ish shape, or can be cast to one.
(Unless he allows custom building of the most crazy shapes, which would be weird)
I used GetExtentSize to get the actual bounding box of the model and then checked to see if that was in bounds with each corner of the plot. Worked mostly except for a stud or two off inside/outside the plot.