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?
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.
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.
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.