Product Documentation

Tutoriel DCC

Unity

Tripo3D Unity Bridge est un plugin léger qui relie directement Unity à la page d’accueil de Tripo Studio. Grâce à ce bridge, vous pouvez envoyer les modèles générés dans le navigateur directement dans votre éditeur Unity, sans téléchargement ni importation manuels et sans étape supplémentaire.

Il est conçu pour simplifier les flux de travail des artistes, des artistes techniques et des développeurs de jeux, afin que vous puissiez vous concentrer sur la création de scènes et l’intégration du gameplay plutôt que sur la gestion des fichiers.

Prérequis

OS : Windows, Mac

Unity : 2021.3 LTS ou version ultérieure (versions recommandées : 2022.3 LTS+ ou Unity6 LTS+)

Navigateur :
Compatible avec Google Chrome 116+, Edge 116+, Opera 102+
Les autres navigateurs ne sont pas pris en charge

Paramètres d’importation par défaut :

  • Générer des colliders : false
  • Importer les matériaux : true
  • Importer les textures : true
  • Pivot : centre inférieur
  • Résolution de texture : valeur maximale actuelle

Installation étape par étape

Étape 1 : Rendez-vous sur Tripo Studio et téléchargez le fichier ZIP Tripo3D Unity Bridge.

The image shows Tripo Studio’s 3D Workspace interface. On the left are tabs for model, segmentation, topology, and texture, with the “Model” tab currently selected. The “Generate Model” area displays the “HD Model” and “Smart Mesh” options, with an “Upload” button below. The center shows a 3D model preview of a character wearing a red cape and armor. On the right is the DCC Bridge tab, listing various 3D software applications such as Blender and 3ds Max, with “Install” buttons for some applications. This image relates to “Step 4” in the documentation and shows the interface for selecting a model in Tripo Studio and preparing to send it to Unity.

Étape 2 : Importez le package dans Unity. Ouvrez votre projet Unity et accédez à : Window → Package Manager

Dans la fenêtre Package Manager, cliquez sur le bouton « + » en haut à gauche. Sélectionnez Add package from disk…

Accédez au dossier du plugin extrait. Sélectionnez le fichier package.json.

Une fois l’installation terminée, le plugin apparaît dans la liste du Package Manager et ses fichiers sont disponibles dans le projet.

This image shows the Unity software interface and corresponds to Step 2 of the export integration process in the documentation. The Window menu in the Unity interface is expanded, with Package Manager selected. The Package Manager window below lists installed packages, including the Core Coverage package at version 1.5.0. The interface guides the user through importing the Tripo3D Unity Bridge plugin into a Unity project, following the documented instruction to add the corresponding plugin through Package Manager.
This image shows the Unity Package Manager window as part of the Unity plugin installation process. The list on the left contains installed or available plugins, with the “Code Coverage” plugin selected at version 1.2.6. An operation menu is open in the upper left of the window, listing options such as “Add package from disk...” and “Add package from tarball...”. This corresponds to the instruction in Step 2 of the documentation to select “Add package from disk…” when importing the plugin, allowing the user to select the plugin’s package.json file from disk.
This image shows Unity’s “Add package from disk” interface, corresponding to the plugin package import step in Step 2 of the documentation. On the left is a file directory tree, with the Tripo3d_Unity_Bridge folder selected under the local disk (F:). The folder contains an Editor folder and a package.json file, which is a 1KB JSON source file. The filename field at the bottom displays the selected package.json file, and the “Open” button in the lower right can be used to complete the package selection. This is a key visual step in importing the Tripo3D Unity Bridge plugin.
The image shows Unity’s Package Manager interface. In the list on the left, the Tripo Bridge plugin is selected, with version 1.0.0 and status Local. The details panel on the right states that the plugin was developed by Tripo AI and describes it as a WebSocket-based plugin for receiving and importing 3D models from the Tripo3D web frontend. Its version history, dependencies, and other information are listed below. This image relates to “Step 2” in the documentation and shows that the Tripo3D Unity Bridge plugin appears and is available in Package Manager after installation.

Étape 3 : Une fois l’installation terminée, accédez à : Tools → Tripo Bridge

À l’ouverture du panneau, le service Bridge démarre automatiquement.

Le service Bridge doit rester actif pendant la connexion au navigateur web. Ne fermez pas Unity ni le panneau Bridge pendant le transfert du modèle.

Dans le panneau Tripo Bridge, le pipeline de rendu est détecté automatiquement en fonction du projet Unity en cours.

Les pipelines pris en charge sont les suivants :

  • Standard (Built-in Render Pipeline)
  • URP
  • HDRP

Vous pouvez également surveiller l’état de la connexion en temps réel et consulter les journaux détaillés.

Si vous devez arrêter le service manuellement, cliquez sur Stop Server dans le panneau.

Cependant, pour envoyer ou recevoir des modèles depuis Tripo Studio, le service doit être actif. S’il a été arrêté, cliquez sur Start Server avant de lancer un transfert.

This image shows the Unity software interface as used in the workflow after installing the Tripo3D Unity Bridge plugin. The top menu bar includes the “Window” option. The Scene view in the center shows Unity’s default scene, including the sky, ground, and directional light. The Inspector panel on the right displays the scene’s Lighting settings, while the Project panel at the bottom shows project files and the plugin folder. Overall, the interface presents the Unity environment used with Tripo3D Unity Bridge after installation is complete.
The image shows the Unity interface after the Tripo Bridge plugin has been installed and run. On the left are the Hierarchy and Project windows, while the Game window in the center displays a blue background. The Inspector window on the right shows Lighting settings. In the Tripo Bridge panel that opens in the center, Status is “Connected,” Render Pipeline is “Standard,” Render Type is “Standard,” Progress is “0.0%,” and the Message Log displays information such as “WebSocket server started.” This image corresponds to Step 3 in the documentation and directly presents the Bridge service starting automatically and its real-time connection status after installation.
The image shows the Unity interface after the Tripo Bridge plugin has been installed and run. On the left are the Unity editor’s Hierarchy and Project views. In the center is the Tripo Bridge panel, displaying information such as Status, Port, and Render Pipeline, along with the Message Log area. On the right is the Inspector panel, showing settings such as Lighting and Lighting Settings. This image corresponds to “Step 3” in the documentation and directly presents the interface after opening the Tripo Bridge panel in Unity to view the real-time connection status and log output.

Étape 4 : Ouvrez le site web Tripo Studio, cliquez sur le bouton DCC Bridge, puis activez le plugin Unity.

Vérifiez que la connexion est correctement établie.

Sélectionnez un modèle. Cliquez sur le bouton Exporter dans la mini-fenêtre.

Cliquez sur Envoyer à Unity.

Après le transfert, assurez-vous que la fenêtre Unity est active. Cliquez dessus si nécessaire pour actualiser l’interface et afficher correctement le modèle reçu.

Pour exporter un modèle avec des animations, générez d’abord les animations dans Tripo Studio, puis sélectionnez les animations souhaitées dans le panneau Export et envoyez-les directement dans Unity.

The image shows the interface for transferring a model to Unity using Tripo Bridge. The Hierarchy and Project windows on the left display elements such as SampleScene. The Game window in the center shows the Tripo model. The Inspector window on the right displays settings such as Lighting and Lightmap. The Tripo Bridge panel, located toward the lower middle, shows Status as Connected, Port as 40610, Render Pipeline as Standard, and Progress as 0%. The Message Log records information such as the WebSocket server starting. This image relates to the “Step-by-Step Installation” section of the documentation and illustrates the interface after transferring a model in Unity.
This image shows the Tripo Studio platform interface in a model export workflow related to Unity. On the left is an asset selection panel with the “ASSETS” label, displaying various model resources available for export. The center shows a generated character model, a sci-fi-style female figure holding a large weapon. On the right is the “DCC Bridge” panel, labeled as supporting export to Unity, Blender, and other software, with the Unity option currently highlighted. The interface is used to select resources and prepare their transfer before exporting the model to Unity.
The image shows the “Assets” interface in Tripo Studio. At the top are the “Featured” and “My Assets” tabs, with “My Assets” currently selected. Multiple model assets, such as weapons and characters, are displayed below, with yellow download icons beside some models. The “LOG” area at the bottom shows “File transfer success” and “File transfer (Progress: 82%),” while the right side shows the “Connected” status and “Credits: 165.” The image relates to the “Step-by-Step Installation” section of the documentation and shows the model assets and file transfer status.
This image shows the model export interface. In the export panel on the left, the filename is “futuristic soldier 3d model,” the format is set to GLB, and the expanded send options show “Send To Unity” highlighted with its switch turned on. The “Choose Animations” panel on the right shows that animations to send must be selected; “afraid” is currently checked, and “agree” and “flip” are also available. At the bottom are the yellow “Send To” and “Export” buttons. This interface corresponds to the documented steps for exporting and sending a model with animations to Unity.

Étape 5 : Le modèle envoyé depuis le site web est maintenant visible dans Unity.

The image shows a Tripo Studio model imported into Unity. The model is previewed in the scene against a light-colored ground and blue sky background. It is a female character wearing purple clothing and holding a weapon. On the right, the Inspector panel has the Material, Rig, Animation, and Materials tabs selected, displaying information about the model. The Project panel at the bottom lists the imported model files. This image corresponds to “Step 5:You can now see the model in Unity from the website.” in the documentation and directly shows how the model appears in Unity.

FAQ

Q : Le modèle importé apparaît en violet dans Unity.

R : Dans Unity, un matériau violet (magenta) indique généralement une incompatibilité entre le shader et le pipeline de rendu.

Si votre projet utilise URP ou HDRP :

Ouvrez le panneau Tripo Bridge.

Vérifiez que le bon pipeline de rendu (URP / HDRP) est sélectionné, puis sélectionnez à nouveau le modèle dans Tripo Studio.

Vous pouvez également corriger les matériaux manuellement : sélectionnez le matériau concerné, remplacez son shader par Universal Render Pipeline/Lit (pour URP) ou HDRP/Lit (pour HDRP), remplacez les textures correspondantes et, si le problème persiste, vérifiez qu’un Render Pipeline Asset valide est attribué dans Project Settings → Graphics.

Q : Puis-je transmettre des données à plusieurs instances Unity simultanément ?

R : Non. La connexion reconnaît uniquement la première instance de Unity lancée.

Q : Puis-je envoyer des modèles lorsque Unity est en mode Play ?

R : Actuellement, le transfert de modèles est uniquement pris en charge en mode Unity Editor.

Cet article vous a-t-il été utile ?

Aidez-nous à améliorer ce contenu.