StackOverflow Error for funnel simplification with RichAI


I keep getting this error:

StackOverflowException: The requested operation caused a stack overflow.

Line and script that the error occurs on:

Script: RichAI.cs
Line Number: 278

Using “Iterative” i get the same error in the same script but on line 286. But i normally use Trinary of which causes an the error to be on line 278.

I tried with draw gizmos on and off and error occurs either way.

Why does this happen and what can i do to fix it?