Product Documentation

DCCチュートリアル

Unity

Tripo3D Unity Bridgeは、UnityをTripo Studioのトップページに直接接続する軽量プラグインです。このBridgeを使えば、ブラウザーで生成したモデルを手動でダウンロードしたり、インポートしたり、追加の手順を踏んだりすることなく、Unityエディターに直接送信できます。

アーティスト、テクニカルアーティスト、ゲーム開発者のワークフローを効率化できるよう設計されているため、ファイル管理ではなく、シーン構築やゲームプレイへの統合に集中できます。

要件

OS: Windows、Mac

Unity: 2021.3 LTS以降(2022.3 LTS+またはUnity6 LTS+を推奨)

ブラウザー:
Google Chrome 116+、Edge 116+、Opera 102+に対応
その他のブラウザーには対応していません

デフォルトのインポート設定:

  • コライダーを生成: false
  • マテリアルをインポート: true
  • テクスチャをインポート: true
  • ピボット: 中央下
  • テクスチャ解像度: 現在の最大値

インストール手順

手順 1: Tripo Studioにアクセスし、Tripo3D Unity BridgeのZIPファイルをダウンロードします。

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.

手順 2: Unityにパッケージをインポートします。Unityプロジェクトを開き、次の場所に移動します: Window → Package Manager

Package Managerウィンドウの左上にある**「+」**ボタンをクリックします。**Add package from disk…**を選択します。

解凍したプラグインフォルダーを開きます。package.jsonファイルを選択します。

インストール後、プラグインがPackage Managerの一覧に表示され、プロジェクト内でファイルを使用できるようになります。

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.

手順 3: インストール後、次の場所に移動します: Tools → Tripo Bridge

パネルを開くと、Bridgeサービスが自動的に起動します。

Webブラウザーに接続している間は、Bridgeサービスを起動したままにしてください。モデルの転送中はUnityやBridgeパネルを閉じないでください。

Tripo Bridgeパネルでは、現在のUnityプロジェクトに基づいてレンダーパイプラインが自動検出されます。

対応しているパイプラインは次のとおりです。

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

リアルタイムの接続状況を確認し、詳細なログを表示することもできます。

サービスを手動で停止する必要がある場合は、パネルのStop Serverをクリックします。

ただし、Tripo Studioとのモデルの送受信には、サービスが起動している必要があります。停止している場合は、転送を始める前にStart Serverをクリックしてください。

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.

手順 4: Tripo Studioのウェブサイトを開き、DCC Bridgeボタンをクリックして、Unityプラグインを有効にします。

接続が正しく設定されていることを確認します。

モデルを選択します。ミニウィンドウのエクスポートボタンを押します。

Send to Unityをクリックします。

転送後、Unityウィンドウにフォーカスが当たっていることを確認してください。必要に応じてウィンドウをクリックすると、UIが更新され、受信したモデルが正しく表示されます。

アニメーション付きのモデルをエクスポートする場合は、まずTripo Studioでアニメーションを生成し、次にエクスポートパネルで目的のアニメーションを選択して、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.

手順 5: ウェブサイトから送信したモデルが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.

よくある質問

Q: Unityでインポートしたモデルが紫色で表示されます。

A: Unityでマテリアルが紫色(マゼンタ)になる場合、通常はシェーダーまたはレンダーパイプラインの不一致を示しています。

プロジェクトでURPまたはHDRPを使用している場合:

Tripo Bridgeパネルを開きます。

正しいレンダーパイプライン(URP / HDRP)が選択されていることを確認し、Tripo Studioからモデルをもう一度選択します。

または、該当するマテリアルを選択してシェーダーをUniversal Render Pipeline/Lit(URPの場合)またはHDRP/Lit(HDRPの場合)に変更し、対応するテクスチャを置き換えることで、マテリアルを手動で修正できます。それでも問題が解決しない場合は、Project Settings → Graphicsで有効なRender Pipeline Assetが割り当てられていることを確認してください。

Q: 複数のUnityインスタンスに同時にデータを送信できますか?

A: いいえ。接続先として認識されるのは、最初に起動したUnityのみです。

Q: UnityがPlayモードのときにモデルを送信できますか?

A: 現在、モデルの転送はUnityエディターモードでのみ対応しています。

この記事は役に立ちましたか?

コンテンツの改善にご協力ください。