maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

RuntimeError: is not a deformer.

Open kreppene opened this issue 4 years ago • 3 comments

Describe the bug when i import animation from a usd file using useAsAnimationCache, i get the error inn the image below, and all object is missing animation, except for transform animation

image

Steps to reproduce Steps to reproduce the behavior:

  1. import an animated usdfile using this flags
  2. import pymel.all as pm pm.mayaUSDImport(f=usdFile, pp = primPath, useAsAnimationCache=True, readAnimData=True)

Expected behavior I expect the deformer to apply correctly to the objects in maya

Attachments Transform anim only 2021-08-31_15-05-36

Specs (if applicable):

  • Windows 10
  • Maya version 2022
  • mayaUsd 0.12 and mayaUsd 0.11

kreppene avatar Aug 31 '21 13:08 kreppene

I am able to reproduce this on our side as well.

santosg87 avatar Sep 10 '21 17:09 santosg87

Hi there

I've just run into this issue too. Any chance of it being looked at in the near future?

Regards

dalorin avatar Dec 20 '21 21:12 dalorin

This issue is caused by the new component tags workflow. When enabled, it disables deformer sets which this feature relies on. The workaround is to open Preferences > Animation > Rigging and:

  • disable "Use component tags for deformation component subsets"
  • enable "Add tweak nodes on deformer creation"

dalorin avatar Dec 20 '21 21:12 dalorin