Is this apparent limit of 132 linked_portal_doors something that anyone else has run into before? Is there a way to bypass this limit? Can anyone offer any suggestions that might help me fix this crash?
The only alternative that I can think of that would work within the bounds of this project would be if anyone knew how to change the direction of gravity, as that would allow me to use fewer portals. Does anyone know if that can be done, and if so, how?
I really need some help on this one, so any input would be appreciated. Thanks!

It crashes with any more than one hundred and thirty two... and I actually need two hundred and forty. 