StackOverflowException on Procedural Tree sample
My goal is to draw a ton of shape, so I tried to use Procedural Tree sample for some hint.
I open an empty project and import Shapes asset from Asset store in Unity 2021.3.18f1, when I set line count around over 750~800, it go extremely lag and starting show StackOverflowException.
All error code is same, no other warning or log.
Is it any way to make me possible to draw more shape?
Since when I use Unity transform.position can easily control 2000 up of GameObject and go really lag on 5000 object. I think Rendering 800 of shape go lag really not a good performance, in case of many shape need another draw call for a outline effect, isn't it 400 object is already maxium object I can draw?