State:New|TargetRelease:No Target|icon_bug|database:public|icon_mari|Resolution:Fixed|BugID:501607|
Problem summary
Errors when loading Object versions via Python if the current version's geo hierarchy was selected in Add Version Settings
This issue can occur with FBX and Alembic files.
Customer reported version
Mari 4.7v2
Customer reported platform
CentOS 7
Steps to reproduce
1) Download the attached Cube.abc
2) Open any project
3) Right click the Object and select Add Version
4) In the Add Version dialog, select Cube.abc for the geometry
5) Expand and select the hierarchy so that it is highlighted like below and then click OK

path = "path/to/file"
mari.geo.current().addVersion(path, "test")
Expected behaviour
current_version = mari.geo.current().currentVersion()
version_settings = current_version.settings()
version_settings["SelectedObjectNodeCount"] = "0"
current_version.setSettings(version_settings)
After running this snippet, additional Object versions should load via Python without erroring.We're sorry to hear that
Please tell us why