Sequencer Event Parameter Struct is null after triggering event once

Hey,

while working with the sequencer I encountered the following bug:
I created an event track and set some keys which trigger a custom event in my Persistent Level BP. To pass values to the custom event I created a struct-asset and use it as parameter for the event keys. This struct consists of a single integer value. My custom event expects an integer value as input variable. I made sure to name the struct’s value and the custom event’s input value exactly the same.

The first time the event is triggered the custom event is called correctly.
The second the following warning is logged:
“Parameter count mistatch for event ‘SetSubsteps’. Required parameter of type ‘num’ at index ‘0’.”

Is this a known problem and is there a workaround/fix available?

Thanks for helping!

Cheers

Hey mvddreher,

Maybe I’m missing something, but I’m not having any trouble triggering multiple of the same event with a struct.

Can you expand on your explanation with screenshots or an example project?

Hey ,

thanks for your reply.

As a workaround I don’t use structs as parameters for the events now, but provide events without parameter for each needed value.

Sadly I don’t have the time to create and provide an example project right now.
I’ll attach screenshots of the original setup before the workaround. The event was fired in a shot track.

Let me know if you need more information.

Hi .
I also have the same problems.
I’ve tested, with a new level and the only events without parameter are fired.

It would be nice, if you could check it out.

Thank you.

Hey .

I have the similar problem.
I am using unreal 4.19.2
I created an empty level, in the level blueprint, I added 1 the events inside the sequencer named Test1 and Test2
Test1 has parameter(struct) and Test2 doesn’t.
only Test2 event was fired.

Please have a check.
Thank you.

Hi JINEQ,
I’m working with unreal 4.19.2 too. I had your very same problem and I was able to solve it with solution proposed by mvddreher: when creating the custom event in your BP, you have not to retrieve the entire struct; instead, you have to instatiate a parameter for every single struct variable manually.

259164-img2.jpg

Hope this helps.

@nicolam93 Thanks, that was exactly what i needed!! Make the mistake of adding the struct as an input…seems logical to do it that way…