x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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

Product Version: UE 4.15
Tags:
more ▼

asked May 08 '17 at 10:55 AM in Bug Reports

avatar image

mvddreher
11 2 3

avatar image Matt.Williams May 26 '17 at 05:53 PM

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?

-Matt W.

avatar image mvddreher Jun 12 '17 at 10:55 AM

Hey Matt,

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.

-Daniel

avatar image JINEQ Jun 01 '18 at 07:57 AM

Hey Matt.

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.

avatar image nicolam93 Nov 11 '18 at 11:52 PM

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. alt text alt text

Hope this helps.

img1.jpg (88.7 kB)
img2.jpg (9.3 kB)
avatar image SerzaNT Feb 12 '19 at 12:55 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Matt. 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. -Vong

more ▼

answered Jun 01 '18 at 01:29 PM

avatar image

JINEQ
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question