I’m trying to add an alembic geometry cache to the sequencer using python.
When I run the last line of the following code I get an error saying:
LogPython: Error: Traceback (most recent call last):
LogPython: Error: File "<string>", line 1, in <module>
LogPython: Error: AttributeError: 'MovieSceneGeometryCacheSection' object has no attribute 'params'
According to the documentation though the ‘params’ attribute should definitely be available:
https://docs.unrealengine.com/5.0/en-US/PythonAPI/class/MovieSceneGeometryCacheSection.html
sequence = unreal.load_asset("/Game/test_sequence")
cache = unreal.load_asset("/Game/test_anim_cache")
binding = sequence.add_spawnable_from_instance(cache)
anim_track = binding.add_track(unreal.MovieSceneGeometryCacheTrack)
anim_section = anim_track.add_section()
# errors out here
anim_section.params.geometry_cache_asset = cache
Is this a bug in the Python API or am I doing something wrong here?

