Bind event on end reached with media player is triggered Twice

So I made a very simpel way to play an video on a plane…


(I hope the image is clear enough…)

I have put a print string in the PlayVideo event. This is only called once.
But i have also a print string in the event End Video. Which is called when the video ends.
Though, the strange thing is that the print string is called twice and so is load next level. I don’t understand why this is happening since they video is only played once.

What are the chances more than 1 instance of this actor exists?

I am sure i don’t have more than 1 instances, I checked it with the first print string which u can see in the PlayVideo event. That string is called only once. if i had 2 instances it would be called 2 times right?

But the EndVideo event is called twice for some reason when i have 1 instance.

Just to be abundantly clear:

  • End Video triggers twice
  • Play Video triggers once

Yeah, End video is triggered twice. PlayVideo only once.
So the print string you are pointing at is called twice for some reason.

Not sure, try disabling:

In the Media Player - perhaps it plays twice.

I already tried that, if i disable it. the video doesn’t get played at all. So the end will never be reached ig.
I don’t know if this is a bug or not but i find it so strange that EndVideo is triggered twice.

I also tried it with the Play node:


But even that doesn’t make the video play. Strange to be honest

You’d need to use the onMediaOpened callback, as in the tooltip above. However, it does trigger OnEndReached twice on my end, too. Does not seem right, indeed. I even tried unbinding / rebinding all events.


The obvious hackaround, for now, is to have a DoOnce node before the rest of the delegate’s chain fires.

Yeah alright, do once works which is obvious but if you find out why it happens or if there is actually a proper fix? it would be very cool.

Thanks for the help by the way.

1 Like