Incorrect order of Section Start/End events in Unity

Hi,
Character ID : e1251142-7f48-11f0-9366-42010a7be01f

When I trigger an event, expectations are that the current even should end immediatedly, then next section Start Event should come before the character starts talking.

But what I am seeing is that, let’s say I am in Section A and want to go to Section B
From Section A I trigger event → after a while Section B starts and the character starts talking → then Section A EndEvent is called → then section B StartEvent is called

This is a problem because I want to do certain things like disabling UI/Gameobjects when a section starts or ends but the timing doesn’t match. The AI should not start talking beofre the SectionEvents are called.

Correct order should be
Trigger called→Section A EndEvent called→Section B StartEvent called→AI starts talking

What is the issue here? How can this be solved?

Hello @asmita,

This is expected behavior. When you trigger a new section, the previous section does not end immediately. The End Event is only called once the transition to the next section has completed.

Instead of relying on the End Event, we recommend performing your desired actions at the moment you trigger the next section. This will give you more control over timing.

I get it. but the AI should not start talking 2-3 seconds before the Section Start Event is triggered.

Hi, kindly provide a solution to how to get Section Start event before that AI starts talking. Right now the AI starts talking and after 2-3 seconds the Section Start event is triggered.

As mentioned, this is the expected behavior. Just like in a normal conversation where the AI takes a moment to generate a response, a short delay also occurs before the Section Start event is triggered.