待辦事項 #31606

プロジェクトの出力時のエラー

啟用日期: 2013-06-23 13:54 最後更新: 2013-06-23 13:54

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

Windowns7 + x64環境で動作をさせていているのですが、 Unity 4.1.5f1 環境にて、ソースを実行ファイルに書き出そうとする際に、下記のようなエラーが出力されます。 Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(2,7): error CS0246: The type or namespace name UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(2,7): error CS0246: The type or namespace name UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/XFileImporterWindow.cs(3,7): error CS0246: The type or namespace name UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

ためしに、 XFileImporterWindow.cs XFileConverter.cs XFileImporter.cs にて、#if UNITY_EDITOR ~~ #endif でコメントアウトをするように修正をしたところ 一応は出力出来るようになりました。 もし何かお気づきの点があれば、教えていただけ無いでしょうか。

Ticket History (3/3 Histories)

2013-06-23 13:54 Updated by: tobineko
  • New Ticket "プロジェクトの出力時のエラー" created
2013-06-23 23:44 Updated by: sters
評語

ためしに、
* XFileImporterWindow.cs
* XFileConverter.cs
* XFileImporter.cs
にて、#if UNITY_EDITOR ~~ #endif でコメントアウトをするように修正をしたところ

その対応で正しいと思います。
PMDLoaderWindow.csやVMDLoaderWindow.csなども同様に

#if UNITY_EDITOR ~~ #endif
で囲ってあります。

よろしければコミットしていただけると幸いです。

2013-07-05 11:28 Updated by: sters
評語

r146, r147でコミットされていました。

また、r150, r151にてEditorフォルダへと移動しています

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入