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"

MoviePlayer 'OnMovieClipFinished' broadcasts incorrect movie name.

When playing Startup Movies, the Movie Player doesn't broadcast the OnMovieClipFinished delegate properly.

It insteads broadcasts the name of the movie it's about to play, not the one that just finished. You can test this yourself by setting two startup movies in a project, packaging it and binding a function to this delegate.

This is beyond annoying, because I'm trying to detect when StartupMovies have completed to load my main menu level.

Product Version: UE 4.16
more ▼

asked Jun 23 '17 at 12:26 PM in Bug Reports

avatar image

815 57 96 140

avatar image Matthew J Jun 23 '17 at 06:26 PM

Hello TheJamsh,

Can you please provide a step by step reproduction with detailed steps, including code snippets for the code that you're using to bind this delegate?

avatar image TheJamsh Jun 23 '17 at 09:29 PM

Hi Matthew, this is the code I'm using. I've added two Startup Movies in project settings. When the first movie finished, the delegate fires but using the name of the second movie, not the first one.

 #include "MoviePlayer.h"
 void UST_GameInstance::Init()
     GetMoviePlayer()->OnMovieClipFinished().AddUObject(this, &UST_GameInstance::OnMovieClipFinished);
 void UST_GameInstance::OnMovieClipFinished(const FString& MovieName)
     // Print Movie Name
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Thank you for the information. I've placed a bug report in for this and you can find it here: UE-46683. You can also track the report's progress there.

Have a nice day!

more ▼

answered Jun 29 '17 at 08:14 PM

(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