How to get the current frame number when using the Movie Render Queue?

I’m able to get the current frame number with UMovieSceneCaptureEnvironment::GetCaptureFrameNumber() in C++ and with the Get Capture Frame Number node in Blueprint with the regular movie renderer.
However, if I enable the Movie Render Queue plugin, then both always return 0.

How else can I get the current frame number?

2 Likes