When I set the prim kind via
prim.SetMetadata(pxr::SdfFieldKeys->Kind, pxr::TfToken("component"))
It works well on Windows and I get something like this:
Xform "MyPrim" (
kind = "component"
)
The same code on Mac will generate the following case, I notice there is no quote for the "component".
Xform "MyPrim" (
kind = component
)
When I open this USD file via usdview, the usdview will crash with message like this:
Error in 'pxrInternal_v0_21pxrReserved::Usd_CrateFile::CrateFile::_UnpackValue' at line 3767 in file E:\fork\USD-21.02\USD-21.02\pxr\usd\usd\crateFile.cpp : 'Attempted to unpack unsupported type enum value 0'.
Description of Issue
When I set the prim kind via
prim.SetMetadata(pxr::SdfFieldKeys->Kind, pxr::TfToken("component"))
It works well on Windows and I get something like this: Xform "MyPrim" ( kind = "component" ) The same code on Mac will generate the following case, I notice there is no quote for the "component". Xform "MyPrim" ( kind = component ) When I open this USD file via usdview, the usdview will crash with message like this: Error in 'pxrInternal_v0_21pxrReserved::Usd_CrateFile::CrateFile::_UnpackValue' at line 3767 in file E:\fork\USD-21.02\USD-21.02\pxr\usd\usd\crateFile.cpp : 'Attempted to unpack unsupported type enum value 0'.Anyone experience this issue?
Steps to Reproduce
System Information (OS, Hardware)
MacOS
Package Versions
Either version should reproduce.
Build Flags