How do you add a section to a MovieSceneAudioTrack in python without crashing the editor?

Hello, executing the audioTrack.add_section() in the below causes the editor to crash. I can add sections to other types of tracks but the unreal.MovieSceneAudioTrack specifically seems to have this issue. Does anyone know of a workaround for this?

sequence = asset_tools.create_asset(name, path, unreal.LevelSequence, factory)
audioTrack = sequence.add_master_track(unreal.MovieSceneAudioTrack)

# Crashes the editor
audioSection = audioTrack.add_section()

Looks like this is a legitimate crash. I entered this for tracking:

https://issues.unrealengine.com/issue/UE-69088

And have fixed the issue for the upcoming 4.22 release. If you compile the engine yourself, the fix is 4814663

Thanks for the report!

Thanks so much for the fix! Glad I could help identify it.