Maya and Unity Camera Settings and Frame Match

Alright you guys, I need hellllpppp

I have done everything I can think of to test this and by now I am beginning to think Cinemachine has something really wacky going on internally with cameras.

I have a Maya scene with a bunch of cubes and a camera that rotates around. Frame below

I have exported the camera and objects and brought them into unity, then I setup a Cinemachine and rendered the same frame

Here is what they look like stacked on top of each other.

I have confirmed the following:

Camera settings on both programs,

1920x1080

Main Camera:

Virtual Camera created with Cinemachine

Appreciate the feedback everyone.

Cinemachine is a tool for procedurally animating cameras. In this case, you’ve turned off the procedural stuff because you’re matching a pre-existing animation, so the virtual camera is basically a transform that you’re animating. I doubt that CM is the source of the discrepancy. You need to make sure that the physical camera settings really do match the Maya source. Also, is it possible that your animation is one frame off? It looks like the camera is offset in X.

Hey thanks for the reply

I definitely believe it’s camera settings on Unity’s side, I don’t fully know what unity is doing with their camera internally. It’s frustrating that it’s different and there is no real documentation about it.

If the animation was offset between the two animations, I’d be able to offset the frames in after effects or some editor, I have tried this and they aren’t offset and don’t line up when offsetting them.

I have checked about 5 times that the camera is in the exact same position as it is in unity, both have the same transforms, both have the same rotation values.

I thought about the offset in X, I tried a manual 2D move but it doesn’t line up either, I could try to move the camera in x but then that really doesn’t make any sense…

Also I want to add that, Cinemachine does have more than just a transform on the virtual camera there are lens camera settings that overwrite the main camera settings, I will do a quick test without CM and see if I’m still getting the same result

WOOOOHOOOO!!! I just decided to restart from scratch and now it works… I still cannot figure out the differences between the scenes

1 Like