vault backup: 2023-08-15 19:35:06

This commit is contained in:
BlueRose 2023-08-15 19:35:06 +08:00
parent 80fa8a4c42
commit e41294038d

View File

@ -5,13 +5,17 @@ excerpt:
tags:
rating: ⭐
---
# UBT生成解决方案
生成解决方案格式:
```bash
# bash path in Engine\Source\Programs\StandaloneApplication
$ UnrealBuildTool.exe -notinstallengine -ProjectFiles StandaloneApplication
```
之后就会在`Engine\Intermediate\ProjectFiles`出现解决方案。
比如:
```bash
Zhalipeng MINGW64 /d/UE_4.18/Engine/Source/Programs/StandaloneApplication (master)
$ ../../../../Engine/Binaries/DotNET/UnrealBuildTool.exe -notinstallengine -ProjectFiles StandaloneApplication
ERROR: UnrealBuildTool Exception: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line
```
cd D:\UnrealEngine\UnrealEngine5\Engine\Source\Programs\HotUpdateGuard
D:\UnrealEngine\UnrealEngine5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe -notinstallengine -ProjectFiles HotUpdateGuard
```
之后在`D:\UnrealEngine\UnrealEngine5\Engine\Intermediate\ProjectFiles`出现解决方案。