0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Unreal Engine のエラー「~が~用にコンパイルされていることを確認してください」の解決方法

Posted at

パッケージ化しようとした際に表示される

~が~用にコンパイルされていることを確認してください

というエラーを解決する情報が無かったので、自分が解決した方法を共有します。

簡単にいうと、Visual Studio でプロジェクトをビルドすると直ります。

手順

  • 「ツール」>「Visual Studio を開く」で起動する
  • UEを閉じる
  • ソリューションエクスプローラーからGames/(プロジェクト)を右クリック > 「ビルド」

余談

このエラーが出るのは、Blueprintプロジェクトでc++を使った時です。c++プロジェクトに変更する手順をちゃんと読まずにc++コードを使用した場合に起こります。(自分がそうでした)やっかいなのが、パッケージ化するまでは正常に動作する(ように見える)ところです。ライブコーディングという機能がいい感じにやってくれているみたいです。パッケージ化しようとした際に意味不明なエラーが出ます。パッケージ化もいい感じにやってくれないものでしょうか。あるいはもっと分かりやすいエラーを出してほしいです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?