Unreal Engine 5.3
Issue:
The VariantManger is loosing bindings of actors when using level streaming. I guess there is no fix for that. (as far as i could find)
My idea to write a python script to have the same functionality like the user is right clicking and clicks on “rebind to other actor” in the VariantManger Editor.
There it will bring back the binding with it stored property. (in my case only “selected option” of a switch actor)
The problem:
I could manage to write a script, to search for the actors in the variants from an exported LevelVariantSet, match them to the actor(label) in the broken variants.
But in the python api there is only “add_actor_binding(actor)”.
I try to “get_captured_properties(actor)” to maybe rebuild the binding, but it returns an emtpy array.
But because in the variant manager editor it works, the information should be somewhere?
In the exported levelvariantset.copy i only found
VariantObjectBinding_10.PropertyValueOption_10, but no information of the property option value, like the actor name of the switch_actors child.
Is there any way i could restore my variantsets?