Error in Stack.StepCompiledIn

I created a UFUNCTION using “CustomThunk”. The “two” parameter inputs are “wildcards”.
However, when only one input is being used and the other is disconnected, I receive an error in “Stack.StepCompiledIn(nullptr);”. The blueprint compiles normally using the “parameter type” of the connected pin to be used in the other one (SetParam = “A|B”).

Does anyone know how to fix this? I used “AutoCreateRefTerm” and the problem persists.

Please, if someone from the staff could answer, I would appreciate it. I really need this to work. I’ve been creating something new for months, and this is the only thing missing to get it done. I’ve tried everything. It seems so simple, but I can’t figure out how to make it work.

Sincerely, HighRender.