Search Issue Tracker

By Design

Votes

0

Found in

2020.3.39f1

2021.3.10f1

2022.1.15f1

2022.2.0b7

2023.1.0a10

Issue ID

UUM-14188

Regression

No

Cameras are not imported correctly when exported from Autodesk Maya as an fbx

-

Reproduction steps:

# Open the attached project “CameraMayaBug.zip”
# Open the “/Assets/Scenes/SampleScene.unity” Scene
# Open the Timeline window (Window > Sequencing > Timeline)
# Select the “Main Camera” GameObject in the Hierarchy window
# Play the Timeline
# Observe the Animation in the Game View

Expected result: The Camera is further from the Sphere and translates towards it and then rotates downwards
Actual result: Worldspace does not properly transfer and the Camera barely moves and rotates

Reproducible with: 2020.3.39f1, 2021.3.10f1, 2022.1.15f1, 2022.2.0b7, 2023.1.0a10

Reproducible on: Windows 10 (21H2)

Note: In the Model Import settings you can achieve a better result with Unit Conversion, however, it is a hassle to play around with when the Camera should be imported and keep the position and animation exactly like in Maya

  1. Resolution Note:

    In this case, two settings needed tweaking.
    First is the scale. Since the file is an FBX, Unity doesn't know where it's coming from and what scale it needs to set. In this case, a scale of 100 worked. Most of the time it's either 1 or 100 (1m or 100cm).
    Second is that if the camera (or object) has no parent in the DCC, you want to activate 'Preserve Hierarchy' so that a root is added to the prefab.
    And lastly, 'Bake Axis Conversion' can be used to correct the handedness.

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.