Made a fix that worked for me to stop Stackoverflow exception. Replac…#36
Made a fix that worked for me to stop Stackoverflow exception. Replac…#36fredborden214 wants to merge 1 commit intokarl-:masterfrom
Conversation
…ed recursion with iterating over a stack
|
I checked your PR. And there are still I'm testing this on a production-ready project with complex and random polygons generated and I don't manage to fix them. Please, review it, if you want I can share my project with a faulting polygon. I modified a little bit the code, so the lines don't match with the original one: Supposedly the problem is at the |
|
Havent touched any unity development since I made this PR but would be happy to take another look. If you can provide a project or directions to recreate the issue I could try to provide some input |
|
I tried to fix all of the Stackoverflow exceptions by using Stacks, but it'll take me a while to resolve it. I'm limiting the while iteration to 10000. |

…ed recursion with
iterating over a stack