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