Skip to content

Setting version of a product in Scene Inventory creates a copy #188

Description

@Almie

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

When changing version of a loaded product (such as fbx camera) in Unreal, the result is that the previously loaded version of the product is kept, resulting in 2 copies of the product being loaded

Expected Behavior

The previously loaded version should be removed from the scene when loading another one.

Steps To Reproduce:

  1. Publish a product (such as camera with fbx representation) with at least 2 versions.
  2. Launch Unreal
  3. Load latest version of your product.
  4. In Scene Inventory, change the version of the loaded product to a different one.
  5. You will now have both versions of the product present.

Additional context:

Version

1.5.6+202411141817
ayon_core 1.0.12
ayon_unreal 0.2.7+dev

What platform were you running when you found the bug?

Windows

Relevant log output:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    communityIssues and PRs coming from the community memberstype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions