Executor Is mandatory?

What do you need help with?

Feature request

Installation method

Unity Asset Store

Issue area

Custom Scene Setup

Impact

Normal - something is not working as expected

Unity version

6000.4.0

Convai Unity SDK version

4.3.0

Target platform

Meta Quest

Where does it happen?

Custom scene

Short summary

I am trying to implement the Actions.

What happened?

I am trying to implement the Actions. So in the older SDK there was a method DoAction() in which we got the action Enum. but as i can see in the latest version of convai. it shows we need to create Executor. So is it must to create the Executor or is it okay with normal methods as well. I go through the Document as well. but didn’t found proper answer.

So if i will add manual Action “GiveID” then do i need to create a Executor or can i call simple method as well?

Screenshots, recording, logs, or minimal repro

I checked the relevant documentation, resources, and similar forum posts before posting.

on

I confirm that I did not include API keys, tokens, passwords, secrets, private character data, private conversation logs, or customer data.

on

The Actions system is explained in detail in the documentation.

Yes, an Executor is required. The Executor defines what should actually happen when the Action is triggered. Without an Executor, the SDK would not know what logic or behavior should be executed for that Action.

So, if you create a manual Action such as GiveID, you should also create and assign an Executor for it, then implement the behavior you want inside that Executor.