Unity-初心者ユニティの使い方メモ【UTMEMO】ブログ版

新しくライターさんが参加しました。Unityの使い方。アプリ、ゲームを作る時の開発作業ログ等。もしや、誰かのお役に立てたなら幸いです。

Unity内の3Dオブジェクトをエクスポートする

Unity内で作った3Dオブジェクトなどを書き出したいときには、

FBX Exporterというのを使えばいいそうです。

puarts.com

 

しかし、このアセットをアセットストアからインストールするとエラーになる

Assembly 'Assets/FbxExporters/Editor/UnityFbxExporterEditor.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEngine.Timeline'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'UnityEditor.Timeline'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

 

レビューを参考にすると、

Go to window>Package manager ..then click the drop down menu next to the search box named "advanced" on your top right...Select "show preview packages"...Now you can search or scroll to fbx exporter and install!!

 とのこと。

assetstore.unity.com

 

つまり、このアセット自体がwindow>Package manager でインストできるが、

プレビュー版なので「advanced」となっている検索条件をshow preview packeages に変更して「FBX Exporter」と検索する必要があるようだ。

 

左下の小さい「install」と書かれたボタンを押すとインストールされる。 

 

【使い方】

Hierarchy ウィンドウでエクスポートする対象モデルを右クリックして出た以下のコンテキストメニューからモデルを fbx でエクスポート

 

 とのことです。

 

ちなみにインポートしたFBXオブジェクトがズレる場合は、

親emptyを作って対応しているようです

teratail.com

 

fbxをインポートした時にテクスチャがでないときは

qiita.com