BuildCookRunのcook時にlocal zen serverとの接続ができなかった場合のエラーに関して質問

BuildCookRunのcook時に

--

LogZenServiceInstance: Display: Unreal Zen Storage Server HTTP service at [::1]:8558 status: OK!.

LogDerivedDataCache: Display: ZenLocal: Using ZenServer HTTP service at [http://[::1]:8558/](http://[::1]:8558/) with namespace ue.ddc status: OK!.

--

のログの後、クックが始まる前に

--

LogStorageServerPlatformFile: Display: Using connection settings from ue.projectstore: HostAddrs=‘[::1]+172.*.*.181’ and HostPort=‘8558’

LogStorageServerPlatformFile: Display: Found ‘E:/ChariotJenkins/Data/ChariotCookTest/UE5/Chariot/Saved/Cooked/****/ue.projectstore’

LogStorageServerPlatformFile: Display: Using settings from ue.projectstore: ServerProject=‘Chariot.a878f182’ and ServerPlatform=‘****’

LogStorageServerConnection: Display: Creating zen store connection to [::1]:8558 (“::1”).

LogStorageServerConnection: Display: Creating zen store connection to 172.*.*.181:8558 (“172.*.*.181”).

LogStorageServerConnection: Display: Creating zen store connection to hostname://****.****.root.local:8558 (“172.*.*.181”).

LogStorageServerPlatformFile: Error: Failed to initialize connection to [::1]

--

のように接続ができずエラーが発生します(上記ログのIPアドレスやPC名の一部は念のため*の表記に置き換えています)

その後クックは実行され

--

LogCook: Display: Done!

LogSavePackage: Display: Took 0.082812s to verify the EDL loading graph.

LogInit: Display:

LogInit: Display: Warning/Error Summary (Unique only)

LogInit: Display: -----------------------------------

LogInit: Display: LogStorageServerPlatformFile: Error: Failed to initialize connection to [::1]

172.28.35.181

hostname://****.****.root.local

LogInit: Display:

LogInit: Display: Failure - 1 error(s), 0 warning(s)

LogInit: Display:

--

のログが出てサマリー上はクックエラーになっています

結局クックは成功したのでしょうか?

それとも失敗してるのでしょうか?

失敗してるのならエラーが出た時点で止まってほしいし、

成功であるならばエラー扱いしてほしくはないのですがそのように挙動を変えることは可能でしょうか・・?

(このエラーが頻発して困っています)

(local zen serverのデータのパスを変更した直後に頻発しました)

・以下のケースで対応いただいたパッチを当てています

[Content removed]

・以下の設定で運用しています

[/Script/UnrealEd.ProjectPackagingSettings]

bUseZenStore=True

追伸:

bTreatWarningsAsErrorsOnCook=True

こちらの設定もTrueにしています

お世話になっております。

LogInit: Display: LogStorageServerPlatformFile: Error: Failed to initialize connection to [::1]このエラーについては単なる警告であるためクックには影響がないものでクック自体には成功しているものですが、クックのエラーによるものなのかどうかの判別にあたって混乱を招いてしまうため対応をしたほうが良い点です。おそらく以下のケースで発生している内容と同じに見えます。

[Content removed]

対処方法としまして、一度 $(RootDir)\$(PROJECT)\Saved\Cooked\*\ue.projectstore のファイルを削除するか、それでも解消されない場合は LogStorageServerPlatformFile のログレベルを変更することを試していただけますと幸いです。

ご確認頂きありがとうございます。

bTreatWarningsAsErrorsOnCook=True であれば確かに警告をエラー扱いとしてクックが停止することは想定されますが、この場合は LogStorageServerPlatformFile のログレベルを変更するだけでは回避することができずにプロセスを停止することは変わらないため、bTreatWarningsAsErrorsOnCook=Falseとする必要があるかと思われます。

すみません、本来は警告

UE_LOG(LogStorageServerPlatformFile, Warning, TEXT(“Failed to initialize connection to %s”), *FString::Join(HostAddrs, TEXT(“\n”)));

だったため、UnrealEngine-cmd.exeは書記かでエラー終了せずそのままクックが走るが

bTreatWarningsAsErrorsOnCook=True

の設定で警告がエラー扱いになっていたため

最終断でエラーになる、という状況でした

LogStorageServerPlatformFile のみログレベルを変更することでこの問題は回避できますでしょうか?

了解いたしました