Take Recorder Freezes for 10-15 Seconds before recording

Hello,

We are using Take Recorder via a UDP trigger in a PyQt window to record takes in Unreal Engine.

Usually it records fine with no delay, but now in 5.6 we are seeing a 10-15 second delay when a large USD file is loaded. This was not happening with our code in 5.2 (Though before we used TakeRecorderBlueprintLibrary).

Unreal will freeze and lock the window. If we try to do anything, Unreal will crash. If we just wait, it will usually record fine after 10 to 15 seconds of freezing.

10-15 Seconds is an eternity to wait for every take so we would love to get this ironed out promptly. Thank you.

[Attachment Removed]

Steps to Reproduce
Load large USD into Unreal.

Basically run the following code:

take_recorder_cmds = unreal.get_engine_subsystem(unreal.TakeRecorderSubsystem)

take_recorder_cmds.set_slate_name(take_info.TakeName)
take_recorder_cmds.set_take_number(take_info.TakeNum)
take_recorder_cmds.start_recording()



[Attachment Removed]

Hello are you able to take a Insights Trace and share it with us?

[Attachment Removed]

Thanks for this. Give me a beat to get this in front of an engineer.

[Attachment Removed]

Hey Nateon just to confirm are you using Mocap Manager in 5.6?

[Attachment Removed]

Ok a couple of the devs had a look at your trace. They think its due to something that got fixed in 5.7. There’s an event bound to OnAssetRegistryUpdated that gets hit on start and stop recording. So that would tally with the big hitch on both. If you are indeed using Mocap Manager and want to stay in 5.6 you have a couple of options. You can just close MocapManager or you can adjust the BP manually. The fix in in these two pieces here in the class /PerformanceCaptureWorkflow/Common/AssetPicker/EW_AssetPickerDropDown

[Image Removed]

[Attachment Removed]

Update: Just checked in with the team and it turns out we saw the freezing of Take Recorder when Mocap Manager was closed.

[Attachment Removed]

I see. The traces you sent point to the issue that I mentioned above. Do you have any traces without using Mocap Manager I can pass along?

[Attachment Removed]

You mean this platform is limiting you? If so you can just share them with a GDrive or box link or something if you want.

[Attachment Removed]

Yes, we are in production now but will be sure to get a trace in the the next week or two when we see the bug.

[Attachment Removed]

Attached are the trace files, we were able to take some time and get it done today. Let us know if these offer any insight, thanks.

[Attachment Removed]

That is correct

[Attachment Removed]

Ok, thanks for putting in the work on this. We will give it a try.

[Attachment Removed]

Have been unable to upload additional traces, not sure why

[Attachment Removed]

I have been unable to upload additional traces, not sure why

[Attachment Removed]