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"

Level Sequence fails to play if level is instanced

I have a level which plays a level sequence when a trigger box is entered. It works fine when tested as a level on its own. However when I instantiate it dynamically as a level instance the sequence does not play. I know it is getting triggered as I have a play indicator from the same trigger that is working.

Here is the code in the instance - It sets the display base (from the content demo) colour to indicate activation and then plays the sequence. alt text And here is the calling code in the dynamic environment. InfoID is the level text for the Test level shown above. alt text

Has anyone else faced this problem? What am I missing?

Product Version: UE 4.18
more ▼

asked Feb 04 '18 at 05:25 PM in Blueprint Scripting

avatar image

51 5 8

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

1 answer: sort voted first

Yes, this is a thing. The bindings between Sequencer and the actors in the sequence do not resolve for instanced levels. Sequencer doesn't know which level instance the actors refer to (UWorld vs ULevel), so it fails the binding.

A work-around is to dynamically bind the actors before playing. This could be clunky for sequences involving a lot of actors, but may work great to get around this limitation for smaller setups.

In the World Outliner of the level that is being streamed in, I had to make sure the actors used in the sequence were children of the Level Sequence actor, otherwise the actors would animate relative to the origin rather than relative to the offset of the instanced level. Using the "attach to actor" blueprint node might do the same thing if you want to do everything dynamically (ex: dynamically spawning actors through blueprint that you also want to use in the sequence that's in this dynamically streamed instanced level), although I didn't test it.

Some documentation: https://docs.unrealengine.com/en-US/Engine/Sequencer/HowTo/AnimateDynamicObjects

alt text

more ▼

answered Oct 03 '18 at 05:28 PM

avatar image

Up And Atom
1 2 2

(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