In this guide, we will cover the basics of exporting your assets from Unity to be optimized on the VNTANA Platform.
Unity has different render pipelines and each uses different materials. It is recommended to use the exporter best suited for the materials being used.
We’ll cover how to install the appropriate exports for multiple render pipeline options (Unity’s built-in Render Pipeline, Unity’s High Definition Render Pipeline (HDRP), and the Universal Render Pipeline (UPR)), file preparation, and export settings.
Let’s dive into!
Unity Standard & Non-HDRP Render Pipelines - FXB Export
If you are the Standard render pipeline or another pipeline besides the Unity HDRP, it is recommended to use the FBX exporter. This is because Unity’s standard materials are non-PBR, similar to the materials used in FBX.
Installing the FBX Exporter
To get started, we must first install the FBX Exporter from the Unity Package Manager.
- This will open the Unity package manager window. From here, we can download and install the FBX Exporter package. Search for FBX in the Unity Packages registry.
After this has been installed, we can go back to our Unity scene and select the asset we would like to export.
HDRP and URP - GLB Export
If you are using the HDRP, URP or any material that use PBR, it is recommended to export using the glTF exporter.
With URP materials, it is recommended to set the “Workflow Mode” to Metallic. This will ensure the material is in the correct PBR format for the glTF exporter.
Note: Any advanced material shader graphs may not export correctly.
Installing the glTF Exporter
Since the glTF Exporter is not a default Unity Package, the install process is a bit different.
- Ensure that everything is selected and click Import.
- A few windows may flash displaying the progress of the various assets being loaded. After it finishes, your Package Manager settings might open showing the new package.
- To install the package navigate to Window → Package Manager.
- In order to install the glTF package, we must change “Packages:” from
”Packages: Unity Registry” to “Packages: My Registry” via the dropdown.