ue/book/default/02_install.md
2025-02-09 03:28:27 +09:00

1.7 KiB

install

srcからbuildしない場合はepicgames launcherからinstallします。

https://www.unrealengine.com/download

また、vsinstallerを使用して必要なpackageを入れてください。

vscodeでbuildするには.uprojectを右クリックして.slnを作ります。

package build

まずは新しいprojectを作り、package buildできるかを試してみましょう。

ueではbuildが通らないことがよくあります。長い時間をかけて作り上げたもののbuildが通らない事態は避けましょう。

なお、mac, linuxは、ほとんどうまくいきません。package化に成功してもappが正常に起動しないことがあります。使用するpluginやassetなども影響します。

# corss compile tool : https://dev.epicgames.com/documentation/ja-jp/unreal-engine/linux-development-requirements-for-unreal-engine
# ubuntu(xorg + nvidia)

$ sudo apt-get install xorg xvfb
Xvfb :99 &
export DISPLAY=:99

$ sudo apt-get install vulkan-tools
$ sudo apt-get install mesa-vulkan-drivers

engineとproject

installする場所は自分で決められます。参考の場所を紹介します。

# engine
C:\Program Files\Epic\UE_5.5\Engine\Binaries\Win64\UnrealEditor.exe

# project
C:\Users\$USER\Documents\Unreal Projects\MyProject\MyProject.uproject

windows tool

name url
pwsh https://github.com/PowerShell/PowerShell
windows terminal https://github.com/microsoft/terminal
openssh https://github.com/PowerShell/Win32-OpenSSH
vscode https://github.com/microsoft/vscode