1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UnrealEngineでMSB3073が出た時

Last updated at Posted at 2023-02-12

VisualStudioなどでビルドしたときにMSB3073が出た時は

確認

  • UnrealEditorを閉じてからビルド
  • Intermediateフォルダを削除して「Generate Visual Studio project files」
    • slnファイルをVisualStudioで開いてからリビルド
  • code -1 の場合
    • ディスクの容量がいっぱいか確認

以下、そのほかのパターンは以下…

UE5.3→5.4にアップデート時に発生時に試したこと

code 6

5.3に一度戻してから

DefaultBuildSettingsを最新に変更

public FPSGameEditorTarget(TargetInfo Target) : base(Target)
{
    Type = TargetType.Editor;
    
    //DefaultBuildSettings = BuildSettingsVersion.V2;
    // から↓に変更
    DefaultBuildSettings = BuildSettingsVersion.Latest;

    
    ExtraModuleNames.Add("FPSGame");
    // シェアード ビルド環境に対する違反を無視するかどうかを設定します (定義を修正するエディタ ターゲットなど)
    //bOverrideBuildEnvironment = true;
}

Pluginの更新

まだ、バージョンアップしていないものはEngine側からProject側に移動してビルドが通るようにする

Intermediate、DerivedDataCache、Savedフォルダを削除
slnファイルを削除
Generate Visual Studio project filesで新しく作成

クリーンしてからビルドで解消

Gitのパスでのエラー

Unhandled exception. System.ArgumentException: Path fragment '"Python/\346\226\260\350\246\217 \343\203\206\343\202\255\343\202\271\343\203\210


11>Microsoft.MakeFile.Targets(44,5): Error MSB3073 : コマンド "D:\ue\download_engine\UE_5.4\Engine\Build\BatchFiles\Build.bat FPSGameEditor Win64 Development -Project="D:\ue\YGameFPS\FPSGame\FPSGame.uproject" -WaitMutex -FromMsBuild -architecture=x64" はコード -532462766 で終了しました。

https://qiita.com/mechamogera/items/dd56b2a8fcbebee30d04
ここを参考に
コマンドプロンプトで「git config --global core.quotepath false」を実行で解消

git上に\346\226\260\350\246\217 \343\203\206\343\202\255\343\202\271\343\203\210
が追加状態で存在していたのでもしかしたらそれをgit上で処理するのでも大丈夫かも?
(フォルダ上ではこのファイルは存在してませんでした。

\346\226\260\350\246\217 \343\203\206\343\202\255\343\202\271\343\203\210
ちなみにこれはChatgptに聞いたら「新規 テキスト ドキュメント.txt」でした。

このコード-1073741819が出ているとき

AutomationTool exiting with ExitCode=-1073741819 (-1073741819)

-1073741819→ERROR_ACCESS_DENIEDとのこと。

VisualStudioからリビルドを行う
環境を新しく構築したときの初めの実行で起きたのではまってしまった

→読み取り専用のフラグをはずす(エンジン、Projectともに

VisualStudioInstallerから下記も確認。

.NET 6.0 ランタイム(長期サポート)
MSVC v143 – VS 2022 C++ x64/x86 ビルドツール (v14.38-17.8) ←UE5.4用
MSVC v143 – VS 2022 C++ x64/x86 ビルドツール (v14.36-17.6) ←UE5.3用
MSVC v143 – VS 2022 C++ x64/x86 ビルドツール (v14.34-17.4) ←UE5.2用

Fatal error. Internal CLR error. (0x80131506)

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?