Search Issue Tracker

In Progress

In Progress in 1.0.X

Votes

0

Found in [Package]

1.0.0-pre.1

Issue ID

USDB-10

Regression

No

Crash on pxr.GfPINVOKE:GfVec3f_GetValue when importing an USD file

Package: USD Importer

-

Reproduction steps:
1. Open the attached project ("My Project")
2. Import the attached file ("human_base.usd") by dragging and dropping it onto the project Assets
3. Select the file in Assets, tick Import and press Apply

Expected result: The file is imported
Actual result: The file does not get imported and the Editor crashes

Reproducible with: 1.0.0-pre.1 (2023.2.20f1, 6000.0.9f1)
Couldn’t test with: 1.0.0-pre.1 (2021.3.40f1, 2022.3.36f1) (Not supported by package)

Reproducible on: Windows 11 (User), macOS 14.5
Not reproducible on: No other environment tested

Stacktrace:
0x000002BF011A11BA (Mono JIT Code) (wrapper managed-to-native) pxr.GfPINVOKE:GfVec3f_GetValue (System.Runtime.InteropServices.HandleRef,int)
0x000002BF011A10BB (Mono JIT Code) pxr.GfVec3f:GetValue (int)
0x000002BF011A1013 (Mono JIT Code) pxr.GfVec3f:get_Item (int)
0x000002BF011CB83B (Mono JIT Code) [.\Library\PackageCache\com.unity.importer.usd@1.0.0-pre.1\Unity.Importer.USD.Editor\Nodes\Anim\ReadJointXformAnimationNode.cs:129] UnityEditor.Importer.USD.ReadJointXformAnimationNode:CreateKeyframesFromJointXformAnim (System.Collections.Generic.Dictionary`2<pxr.UsdSkelAnimation, System.Collections.Generic.List`1<pxr.UsdSkelSkeleton>>)
0x000002BF011CA58B (Mono JIT Code) [.\Library\PackageCache\com.unity.importer.usd@1.0.0-pre.1\Unity.Importer.USD.Editor\Nodes\Anim\ReadJointXformAnimationNode.cs:54] UnityEditor.Importer.USD.ReadJointXformAnimationNode:Run ()

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.