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

Rename UV Error when import USD Blendshape based animation.

Open samhodge-aiml opened this issue 5 months ago • 9 comments

Describe the bug Crash when importing animated mesh, should be a blend shape, error is renderUVSet

Steps to reproduce On Ubuntu 24.04 Using Maya 2024.2 fresh install Using USD Maya 0.29.0 to 0.27.0 is same behaviour

Steps to reproduce the behavior:

  1. USD Import, with animation ticked
  2. Choose attached file
  3. See error
//crash log file name     = /usr/tmp/vox1_rap_cache[Recovered-sam.2024-09-13-17.30]
//cut            = 202310181224 
//host name      = skylab
//release name   = 6.8.0-40-generic
//version        = #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul  5 10:34:03 UTC 2024
//machine name   = x86_64
//current scene  = unDisclosed
//directory      = /home/sam
//====================================================
//command history (most recent last):
//====================================================
//last tool: renderWindowSelectContextItem
//====================================================
//panel with focus: modelPanel4
//visible panels:
// modelPanel4 outlinerPanel1 scriptEditorPanel1 hyperGraphPanel2 
//====================================================
  Tstring::isEmpty() const
  Tstring::compare(Tstring const&) const
  Tstring::operator==(Tstring const&) const
  TpolyMapArrayShared::find(Tstring const&, unsigned int&)
  TpolyUVSetCmd::renameUVSetName(TmeshShape*, Tstring const&, Tstring const&, TDGcommand*, bool, bool)
  Autodesk::Maya::OpenMaya20240000::MFnMesh::renameUVSet(Autodesk::Maya::OpenMaya20240000::MString const&, Autodesk::Maya::OpenMaya20240000::MString const&, Autodesk::Maya::OpenMaya20240000::MDGModifier*)
  /usr/autodesk/mayausd/maya2024/0.27.0_202402071410-bf4bd3e/mayausd/MayaUSD/plugin/adsk/plugin/../../../lib/libmayaUsd.so(+0x467741) [0x76c5aba67741]
  pxrInternal_v0_22__pxrReserved__::UsdMayaMeshReadUtils::assignPrimvarsToMesh(pxrInternal_v0_22__pxrReserved__::UsdGeomMesh const&, Autodesk::Maya::OpenMaya20240000::MObject const&, std::set<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::TfTokenFastArbitraryLessThan, std::allocator<pxrInternal_v0_22__pxrReserved__::TfToken> > const&, std::set<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::TfTokenFastArbitraryLessThan, std::allocator<pxrInternal_v0_22__pxrReserved__::TfToken> > const&)
  pxrInternal_v0_22__pxrReserved__::MayaUsdPrimReaderMesh::Read(pxrInternal_v0_22__pxrReserved__::UsdMayaPrimReaderContext&)
  pxrInternal_v0_22__pxrReserved__::UsdMaya_ReadJob::_DoImportPrimIt(pxrInternal_v0_22__pxrReserved__::UsdPrimRange::iterator&, pxrInternal_v0_22__pxrReserved__::UsdPrim const&, pxrInternal_v0_22__pxrReserved__::UsdMayaPrimReaderContext&, std::unordered_map<pxrInternal_v0_22__pxrReserved__::SdfPath, std::shared_ptr<pxrInternal_v0_22__pxrReserved__::UsdMayaPrimReader>, pxrInternal_v0_22__pxrReserved__::SdfPath::Hash, std::equal_to<pxrInternal_v0_22__pxrReserved__::SdfPath>, std::allocator<std::pair<pxrInternal_v0_22__pxrReserved__::SdfPath const, std::shared_ptr<pxrInternal_v0_22__pxrReserved__::UsdMayaPrimReader> > > >&)
  pxrInternal_v0_22__pxrReserved__::UsdMaya_ReadJob::_DoImport(pxrInternal_v0_22__pxrReserved__::UsdPrimRange&, pxrInternal_v0_22__pxrReserved__::UsdPrim const&)
  pxrInternal_v0_22__pxrReserved__::UsdMaya_ReadJob::Read(std::vector<Autodesk::Maya::OpenMaya20240000::MDagPath, std::allocator<Autodesk::Maya::OpenMaya20240000::MDagPath> >*)
  pxrInternal_v0_22__pxrReserved__::UsdMayaImportTranslator::reader(Autodesk::Maya::OpenMaya20240000::MFileObject const&, Autodesk::Maya::OpenMaya20240000::MString const&, Autodesk::Maya::OpenMaya20240000::MPxFileTranslator::FileAccessMode)
  /usr/autodesk/maya/lib/libOpenMaya.so(+0x3088b2) [0x76c6db9088b2]
  TfileTranslator::read(TsceneFile&)
  TglobalTranslator::doReadFile(TsceneFile&, bool, bool)
  TfileUtil::readFile(TsceneFile*, bool, bool, bool)
  /usr/autodesk/maya/lib/libShared.so(+0x726772) [0x76c6d6d26772]
  /usr/autodesk/maya/lib/libShared.so(+0x726b41) [0x76c6d6d26b41]
  TfileCmd::handleFileImportFlag(TargDatabase&, TsceneFile*, TnamespaceSwapper*)
  TfileCmd::handleFlags(TargDatabase&, TsceneFile*, TnamespaceSwapper*, TgraphDiff*)
  TfileCmd::handleFlags(TargDatabase&, Tstring const&)
  TfileCmd::doCommand(TargList&)
  /usr/autodesk/maya/lib/libCommandEngine.so(+0x94431) [0x76c6d2e94431]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbcfe1) [0x76c6d2ebcfe1]
  SophiaExecutable::evaluate(void*)
  TcommandEngine::executeCommand(SophiaExecutable*)
  /usr/autodesk/maya/lib/libExtensionLayer.so(+0x328311) [0x76c6d3528311]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0x94431) [0x76c6d2e94431]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xdfb73) [0x76c6d2edfb73]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbce19) [0x76c6d2ebce19]
  /usr/autodesk/maya/lib/libCommandEngine.so(+0xbcfe1) [0x76c6d2ebcfe1]
1
//====================================================
//Memory usage:
// 81183.990 Mb	Free Memory
// 2147.480 Mb	Free Swap
// 16189.477 Mb	Heap
//====================================================

Expected behavior Import animation

Attachments Making a synthesbian using NVIDIA Audio 2 Face, but after reinstalling Maya 2024.2 under Ubuntu Linux, everything stopped working

https://github.com/user-attachments/assets/900ea267-c270-44dd-978a-4bf43211d766

Specs (if applicable):

  • OS & version Ubuntu 24.04
  • Compiler & version [e.g. gcc 11.2.1]
  • Maya version 2024.2
  • Maya USD commit SHA 0.27.0_202402071410-bf4bd3e
  • Pixar USD commit SHA v0.22

Additional context Adjusting this content so the teeth actually move

USD Cache attached. 02_sonnet.usd_cache.zip

Add any other context about the problem here.

samhodge-aiml avatar Sep 13 '24 08:09 samhodge-aiml