syui.ai

ue 5.7.0pでprojectを作り直す

.md

unreal engine 5.7.0-previewが来ました。

https://forums.unrealengine.com/t/unreal-engine-5-7-preview/2658958

vrm4u5.7に対応しているので、game animation sample(gasp)をベースに構築してみます。

game animation sample for ue5.7

  1. まず空のprojectをue5.7で作ります。私は後に利用するValiant Combatで作りました。[a]とします。
  2. game animation sampleのproject(gasp)はまだ対応していないので、ue5.6で作ります。[b]とします。
  3. [b]の${project}/Config, ${project}.uprojectを参考に[a]に移植します。
"Plugins": [
	{
		"Name": "ModelingToolsEditorMode",
		"Enabled": true,
		"TargetAllowList": [
			"Editor"
		]
	},
	{
		"Name": "AnimationWarping",
		"Enabled": true
	},
	{
		"Name": "RigLogic",
		"Enabled": true
	},
	{
		"Name": "LiveLink",
		"Enabled": true
	},
	{
		"Name": "LiveLinkControlRig",
		"Enabled": true
	},
	{
		"Name": "PoseSearch",
		"Enabled": true
	},
	{
		"Name": "AnimationLocomotionLibrary",
		"Enabled": true
	},
	{
		"Name": "MotionWarping",
		"Enabled": true
	},
	{
		"Name": "HairStrands",
		"Enabled": true
	},
	{
		"Name": "Chooser",
		"Enabled": true
	},
	{
		"Name": "Mover",
		"Enabled": true
	},
	{
		"Name": "NetworkPrediction",
		"Enabled": true
	}
]

特に../Config/DefaultEngine.iniが重要です。

これで完了です。普通に動きます。グラフィックがきれいになっているような気がして、軽量感も少し上がってるかも。

package buildは少し分かりづらいですが、[]Windowsとなっているところを[o]Windowsにしないといけません。gasp + vrm4uでのpackage buildはwin, macで成功しました。macはxcode26でいけます。

linuxは失敗です。Microsoft.MakeFile.Targets 44なので、調べてみるとtoolchain: v26_clang-20.x.xが必要なのでしょう。まだ公開されていないと思います。docsにはlinkがありませんでした。

https://dev.epicgames.com/documentation/ja-jp/unreal-engine/linux-development-requirements-for-unreal-engine

  1. /Source/にc++を置いて、.uprojectを右クリックでgenerate visual studio project filesを選択。
  2. ${project}.slnを開きます。
  3. Development: Linux
  4. 右エクスプローラーから$projectを選択して、右クリックでbuildを開始。
# https://cdn.unrealengine.com/CrossToolchain_Linux/v25_clang-18.1.0-rockylinux8.exe
& "C:\Program Files\Epic Games\UE_5.7\Engine\Build\BatchFiles\Build.bat" Airse Linux Development -Project="C:\Users\syui\Documents\Unreal Projects\5.7\Airse\Airse.uproject" -WaitMutex -FromMsBuild

エラー: MSB3073
Airse: "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets" 44

ue5.7に移行する

最近はproject再構築と新しいbuild環境の構築をやっていたので、ついでに5.7に移行することにしました。まだ手を付けている部分が少ない時に移行したほうがよいと判断。