You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.unity.formats.fbx/Documentation~/assetstoreUpgrade.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
## Updating from 1.3.0f1 or earlier
1
+
## Upgrading from Asset Store version of the FBX Exporter
2
2
3
-
If your previous version of the FBX Exporter package was version 1.3.0f1 or earlier, follow these steps for updating:
3
+
If your previous version of the FBX Exporter package was version 1.3.0f1 or earlier, follow these steps:
4
4
5
5
Before you install the FBX Exporter Package, follow these steps (recommended):
6
6
@@ -12,9 +12,9 @@ Before you install the FBX Exporter Package, follow these steps (recommended):
12
12
13
13
4. Install the FBX Exporter from the [Package Manager](https://docs.unity3d.com/Manual/upm-ui-install.html).
14
14
15
-
If you were using an older version of the FBX Exporter, some Assets in your Project may have missing scripts where the obsolete FbxPrefab component was used. In order to fix these issues, follow these steps:
15
+
If you were using an older version of the FBX Exporter, some Assets in your Project may have missing scripts where the obsolete FbxPrefab component was used. To fix these issues, follow these steps:
16
16
17
-
1. If your Project Assets are serialized as Binary, select __Edit__ > __Project Settings__ > __Editor__ to view the Editor Settings.
17
+
1. If your Project Assets are serialized as Binary, select __Edit__ > __Project Settings__ > __Editor__ to view the Editor Settings.
18
18
19
19
2. Change the __Asset Serialization__ mode to __Force Text__. The __Force Text__ option converts all Project Assets to text.
20
20
@@ -24,4 +24,4 @@ If you were using an older version of the FBX Exporter, some Assets in your Proj
5. Click the __Run Component Updater__ button to repair all text serialized Prefab and Scene Assets in the Project containing the obsolete FbxPrefab component.
27
+
5. Click the __Run Component Updater__ button to repair all text serialized Prefab and Scene Assets in the Project containing the obsolete FbxPrefab component.
Copy file name to clipboardExpand all lines: com.unity.formats.fbx/Documentation~/exporting.md
+33-34Lines changed: 33 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Use __Export To FBX__ (menu: __GameObject__ > __Export To FBX__) to manually exp
5
5
The FBX Exporter exports the following objects:
6
6
7
7
* GameObject hierarchies and their transforms
8
-
*[Meshes](#meshes)
8
+
*[Meshes](#meshes)
9
9
* SkinnedMeshRenderers with the following exceptions:
10
10
* Humanoid rigs are not supported
11
11
* Meshes in bone hierarchies are not supported
@@ -53,15 +53,15 @@ The FBX Exporter exports Physical Cameras, including these properties:
53
53
54
54
On export, the FBX Exporter sets the **Aperture Height** to 0.612 inches, and calculates the **Aperture Width** using this sensor back relative to the Camera's Aspect Ratio. For example:
55
55
56
-
* Full 1024 4:3 (1024x768)
57
-
* Aspect Ratio 4:3
56
+
* Full 1024 4:3 (1024x768)
57
+
* Aspect Ratio 4:3
58
58
* Aperture Width = 0.612 * (1024/768)
59
59
60
-
The Aperture Width and Height values appear in Unity's Inspector as the **Sensor Size** property in millimeters.
60
+
The Aperture Width and Height values appear in Unity's Inspector as the **Sensor Size** property in millimeters.
61
61
62
62
The FBX Exporter derives the **Focal Length** from the vertical Field of View (FOV) and the sensor back settings (Aperture Width and Aperture Height). The FBX Exporter uses the default FBX setting for Aperture Mode: Vertical.
63
63
64
-
**Film Resolution Gate** is set to Horizontal so that the importing software fits the resolution gate horizontally within the film gate.
64
+
**Film Resolution Gate** is set to Horizontal so that the importing software fits the resolution gate horizontally within the film gate.
65
65
66
66
The **Near & Far** Clipping Plane values have a range of 30 cm to 600000 cm.
67
67
@@ -78,16 +78,11 @@ The FBX Exporter exports Lights of type *Directional*, *Spot*, *Point*, and *Are
78
78
It also exports the following Light attributes:
79
79
80
80
- Spot Angle (for Spot lights)
81
-
82
81
- Color
83
-
84
82
- Intensity
85
-
86
83
- Range
87
-
88
84
- Shadows (either On or Off)
89
85
90
-
91
86
92
87
<aname="constraints"></a>
93
88
@@ -172,9 +167,9 @@ The FBX Exporter exports the following attributes for the Parent Constraint type
172
167
173
168
## Animation
174
169
175
-
The FBX Exporter exports Legacy and Generic Animation from Animation and Animator components, or from a Timeline clip.
170
+
The FBX Exporter exports Legacy and Generic Animation from Animation and Animator components, or from a Timeline clip.
176
171
177
-
In addition, it also exports the following animated attributes:
172
+
In addition, the FBX Exporter exports the following animated attributes:
178
173
179
174
- Transforms
180
175
- Lights:
@@ -195,22 +190,29 @@ In addition, it also exports the following animated attributes:
195
190
- Up Vector (Aim Constraint)
196
191
- Aim Vector (Aim Constraint)
197
192
198
-
Animation curve tangents are exported, with the exception of rotation curves for objects with a prerotation (i.e. bones of skinned meshes).
193
+
### Animation curve tangents
194
+
195
+
The FBX Exporter includes the animation curve tangents when it exports an animation.
196
+
197
+
The only exception is for objects with a prerotation, such as bones of skinned meshes. In that case, the FBX Exporter bakes the curves at each frame, with the prerotation factored out. This ensures that the result matches the original animation despite slight differences between the Unity architecture and the FBX format. More precisely:
198
+
* Unity combines prerotation and rotation, while the FBX format stores them separately. Unity also stores prerotation and rotation data in a single curve.
199
+
* At export, the FBX Exporter separates the rotations into two separate fields: prerotation and local rotation. However, to split the rotation curves in the same way, the FBX Exporter would need to remove the prerotation at each key, which would affect not only the values at each key, but also the key tangents. The FBX Exporter would then need to recalculate them.
199
200
200
-
The reason for this is that prerotation and rotation are combined in Unity, but exported and stored separately in FBX.
201
-
The rotation curves for prerotation and rotation are also stored together as a single curve in Unity.
202
-
The rotations are separated at export into two separate fields (prerotation and local rotation), however splitting the rotation curves in the same
203
-
way is not as straightforward. In order for the rotation curve to export properly (with a static prerotation and animated local rotation), the prerotation would need to be removed at each key.
204
-
This would affect not only the values at each key, but also the key tangents, which would need to be recalculated.
205
-
For this reason, the rotation curves of skinned mesh bones are baked at each frame (with the prerotation factored out), to ensure that the result matches the original animation.
201
+
### Exporting an animation clip from the Timeline
202
+
203
+
To export an animation clip from the timeline, in the Timeline editor select the desired clip, then from the top menu select **GameObject** > **Export Selected Timeline Clip**.
204
+
205
+
### Exporting animations with the FBX Recorder
206
+
207
+
If you installed the [Unity Recorder](https://docs.unity3d.com/Packages/com.unity.recorder@latest/index.html) package, you can also use the [FBX Recorder](recorder.md) to export animations to FBX files, either from a dedicated Recorder window or through a Recorder Track in Timeline.
206
208
207
209
## Export Options window
208
210
209
211
When exporting an FBX file, the following **Export Options** window opens, displaying options for specifying what gets exported.
@@ -222,29 +224,26 @@ When exporting an FBX file, the following **Export Options** window opens, displ
222
224
|__Include__| Choose whether to export both Models and Animation, only Models, or only Animations. |
223
225
|__LOD level__| For level of detail (LOD) groups, choose the desired level of detail to export (all, highest, or lowest). <br/><br/>**NOTES:**<br/> - The FBX Exporter ignores LODs outside of selected hierarchy.<br/> - The FBX Exporter does not filter out objects that are used as LODs and doesn't export them if they aren’t direct descendants of their respective LOD Group |
224
226
|__Object(s) Position__| Choose whether to reset the exported objects to world center, or keep world transforms during export.<br/><br/>If you select multiple objects for export, and you choose __Local Centered__ from this drop-down menu, the FBX Exporter centers objects around a shared root while keeping their relative placement unchanged. |
225
-
|__Animated Skinned Mesh__| Check this option to export animation on objects with skinned meshes.<br/><br/>If unchecked, the FBX Exporter does not export animation on skinned meshes. |
226
-
| __Compatible Naming__ | Check this option to control renaming the GameObject and Materials during export. <br/><br/>The FBX Exporter ensures compatible naming with Autodesk® Maya® and Autodesk® Maya LT™ to avoid unexpected name changes between Unity and Autodesk® Maya® and Autodesk® Maya LT™. During export the FBX Exporter replaces characters in Unity names as follows:<br/> - Replaces invalid characters with underscores ("\_"). Invalid characters are all non-alphanumeric characters, except for the colon (":").<br/> - Adds an underscore ("\_") to names that begin with a number.<br/> - Replaces diacritics. For example, replaces "é" with “e”.<br/><br/>**NOTE:** If you have a Material with a space in its name, the space is replaced with an underscore ("_"). This results in a new Material being created when it is imported. For example, the Material named "Default Material" is exported as "Default_Material" and is created as a new Material when it is imported. If you want the exported Material to match an existing Material in the scene, you must manually rename the Material before exporting. |
227
-
|__Export Unrendered__| Check this option to export meshes that either don't have a renderer component, or that have a disabled renderer component. For example, a simplified mesh used as a Mesh collider. |
228
-
|__Preserve Import Settings__| Check this option to preserve all import settings applied to an existing fbx that will be overwritten in the export. If the GameObject is being exported as a new fbx, the import settings will not be carried over.|
229
-
|__Don't ask me again__| Check this option to use the same **Export Option** properties and hide this window when exporting to FBX in the future. You can reset this option by turning on the **Display Options Window** option under **Edit** > **Project Settings** > **Fbx Export** in Unity's top menu. |
230
-
231
-
> **NOTE:** For FBX Model filenames, the FBX Exporter ensures that names do not contain invalid characters for the file system. The set of invalid characters may differ between file systems.
232
-
227
+
|__Animated Skinned Mesh__| Enable this option to export animation on objects with skinned meshes.<br/><br/>If unchecked, the FBX Exporter does not export animation on skinned meshes. |
228
+
| __Compatible Naming__ | Enable this option to control renaming the GameObject and Materials during export. <br/><br/>The FBX Exporter ensures compatible naming with Autodesk® Maya® and Autodesk® Maya LT™ to avoid unexpected name changes between Unity and Autodesk® Maya® and Autodesk® Maya LT™. During export the FBX Exporter replaces characters in Unity names as follows:<br/> - Replaces invalid characters with underscores ("\_"). Invalid characters are all non-alphanumeric characters, except for the colon (":").<br/> - Adds an underscore ("\_") to names that begin with a number.<br/> - Replaces diacritics. For example, replaces "é" with “e”.<br/><br/>**NOTE:** If you have a Material with a space in its name, the space is replaced with an underscore ("_"). This results in a new Material being created when it is imported. For example, the Material named "Default Material" is exported as "Default_Material" and is created as a new Material when it is imported. If you want the exported Material to match an existing Material in the scene, you must manually rename the Material before exporting. |
229
+
|__Export Unrendered__| Enable this option to export meshes that either don't have a renderer component, or that have a disabled renderer component. For example, a simplified mesh used as a Mesh collider. |
230
+
|__Preserve Import Settings__| Enable this option to preserve all import settings applied to an existing FBX file that is overwritten during the export.<br/>If you export the GameObject as a new FBX file, the FBX Exporter does not carry over the import settings.|
231
+
|__Don't ask me again__| Enable this option to use the same **Export Options** properties and hide this window when you export FBX files in the future.<br/>If you need to reset this property: from the Unity Editor menu, select **Edit** > **Project Settings** > **Fbx Export** and enable **Display Options Window**. |
233
232
234
-
> **NOTE:** If a Default Preset has been set in the Preset Manager, the settings will default to this preset. Otherwise, the settings will default to the settings in Edit > Project Settings... > Fbx Export under FBX File Options.
235
-
However, modifying the settings in the Export Options window will preserve the changes for the remainder of the Unity session.
233
+
> **Note:** For FBX Model filenames, the FBX Exporter ensures that names do not contain invalid characters for the file system. The set of invalid characters might differ between file systems.
236
234
237
-
##Exporting animation from the Timeline
235
+
### Default property values
238
236
239
-
In order to export an animation clip from the timeline, in the Timeline editor select the desired clip, then from the top menu select**GameObject** > **Export Selected Timeline Clip**.
237
+
If you set a Default Preset in the Preset Manager, the FBX Exporter automatically uses the values of this Preset as default property values. Otherwise, the FBX Exporter falls back to the values defined in**Edit > Project Settings... > Fbx Export** under **FBX File Options**.
240
238
239
+
However, if you modify the settings in the Export Options window during an export, the FBX Exporter preserves them as long as you keep the Unity session open.
241
240
242
241
## Exporting with relevant system units
243
242
244
-
The FBX Exporter exports in centimeter units (cm) with the Mesh set to real world meter (m) scale. For example, if vertex[0] is at [1, 1, 1] m, it is converted to [100, 100, 100] cm.
243
+
The FBX Exporter exports in centimeter units (cm) with the Mesh set to real world meter (m) scale. For example, if vertex[0] is at [1, 1, 1] m, it is converted to [100, 100, 100] cm.
245
244
246
245
In Autodesk® 3ds Max®, it is recommended to set the system units to centimeters to avoid any scaling on Model import and export.
247
246
248
-
There are no specific import options to adjust between Unity and Autodesk® Maya® and Autodesk® Maya LT™. When working in Autodesk® Maya® and Autodesk® Maya LT™, you can set the working units to meters if you prefer.
247
+
There are no specific import options to adjust between Unity and Autodesk® Maya® and Autodesk® Maya LT™. When working in Autodesk® Maya® and Autodesk® Maya LT™, you can set the working units to meters if you prefer.
249
248
250
249
When working with large models in Autodesk® Maya® and Autodesk® Maya LT™, to ensure that the models clip to meters, adjust the scale of the near and far clipping planes for all cameras by 100x. In addition, you should scale lights and cameras by 100x so that objects display in the viewport.
The FBX Exporter package provides round-trip workflows between Unity and 3D modeling software. Use this workflow to send geometry, Lights, Cameras, and animation from Unity to Autodesk® Maya®, Autodesk® Maya LT™, or Autodesk® 3ds Max®, and back again, with minimal effort.
4
4
5
5
The FBX Exporter package includes the following features:
6
6
7
7
*[FBX Exporter](exporting.md): Export geometry, animation, Lights, and Cameras as FBX files so you can transfer game data to any 3D modeling software. Record gameplay and export it to make cinematics. Start grey-boxing with [ProBuilder](https://docs.unity3d.com/Packages/com.unity.probuilder@latest/), then export your GameObjects to FBX until you can replace them with the final Assets.
8
8
9
+
*[FBX Recorder](recorder.md): Export animations through the Unity Recorder (including [Cinemachine](https://docs.unity3d.com/Packages/com.unity.cinemachine@latest/) camera animations).
10
+
<br />**Note:** To use this feature, you must install the [Unity Recorder](https://docs.unity3d.com/Packages/com.unity.recorder@latest/) package.
11
+
9
12
*[FBX Prefab Variants](prefabs.md): The FBX Importer allows you to import an FBX file as a **Model Prefab** and create **Prefab Variants** from them. Since Prefab Variants can override properties and children without affecting the original Prefab, you can use them in Unity without breaking the link to the file, and bring in updates.
10
-
13
+
11
14
*[Unity Integration for 3D modeling software](integration.md): Effortlessly import and export Assets between Unity and Autodesk® Maya®, Autodesk® Maya LT™, or Autodesk® 3ds Max®. The 3D modeling software remembers where the files go, and what objects to export back to Unity.
12
15
13
16
## Requirements
@@ -18,20 +21,20 @@ The FBX Exporter package is compatible with the following versions of the Unity
18
21
19
22
The Unity Integration for Autodesk® Maya® and Autodesk® Maya LT™ feature supports the following versions:
0 commit comments