Reply To: "ExecutionEngineException" when using the Check Function Condition Task in iOs

Forums › 💬 NodeCanvas › ⚙️ Support › "ExecutionEngineException" when using the Check Function Condition Task in iOs › Reply To: "ExecutionEngineException" when using the Check Function Condition Task in iOs

#16659
driiade
Participant

    I have similar Bug with code like this : using NodeCanvas.Framework;
    using ParadoxNotion.Design;
    using System;

    [Category(“Utility”)]
    public class IndicateCurrentState<T> : ActionTask<StateProvider> where T : Enum {

    protected override string info => $”Indicate {state} state”;

    public T state;

    protected override void OnExecute()
    {
    agent.SetCurrentState<T>(state);
    EndAction();
    }

    }

    And it will be cool NodeCanvas Generate AOT for this case