I am supporting a request from our animators to make a tool for generating AnimMontage assets for their newly imported AnimSequences. When I call create_asset for a new AnimMontage nothing is created. I believe the problem is the factory is missing a SourceAnimation or TargetSkeleton asset to build from but I can’t set these protected variables from Python. Any help on how I need to go about creating a brand new AnimMontage would be greatly appreciated.
unreal.AssetToolsHelpers.get_asset_tools().create_asset(asset_name=‘test’, package_path=‘/Game/’, asset_class=unreal.AnimMontage, factory=unreal.AnimMontageFactory())