Autodesk / Autodesk/maya-usd

Maya USD Reference Animation 25 FPS time mismatch

Open
#3,580 15 comments 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
bug
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

**Describe the bug**

Below is all done in a 25 FPS Maya scene.

When exporting an animation via maya usd export, say from 1001 to 1020 and then loading this USD back in directly as Maya USD Proxy Shape as the actual file works fine.

But creating an empty Maya USD Proxy Shape stage and then (USD) referencing in that animation it seems that the animation plays back around the time range of 962-977

**Steps to reproduce**

All steps below are in Maya workfile set to 25 FPS.

Steps to reproduce the behavior:
1. Create an animation between 1001-1020 (in a 25 FPS scenefile)
2. Export via Maya USD
3. Create empty Maya USD Proxy Shape
4. Create a root prim, e.g. an Xform
5. Reference in the animation onto that prim.

The time is now at the incorrect frames. As if playing an invalid FPS.

**Expected behavior**

There should be a way via the UI to manage these FPS discrepencies. Furthermore, I'd expect when working in a 25 FPS scene for exporting, and also for the Maya USD Proxy Shape for Maya to 'do the right thing automatically'. It should default `mayaUsdProxyShape` 's `timeCodePerSecond` and `framesPerSecond` to the current FPS.

It sounds like e.g. Maya USD Proxy Shape is at the wrong 'FPS'?

**Attachments**

n/a

**Specs (if applicable):**
- OS & version: Windows 10
- Maya version: 2024.2
- Maya USD: 0.26.0

**Additional context**

n/a

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.