UE4 服務端構建后啟動錯誤的解決方法
構建獨立服務端后啟動報錯:
[2016.04.15-11.22.50:980][ 0]LogMaterial:Error: The global shader cache file 'F:/EpicGames/UnrealEngine-4.11.0-release/Engine/GlobalShaderCache-PCD3D_SM5.bin' is missing.
Your application is built to load COOKED content. No COOKED content was found; This usually means you did not cook content for this build.
It also may indicate missing cooked data for a shader platform(e.g., OpenGL under Windows): Make sure your platform's packaging settings include this Targeted RHI.
Alternatively build and run the UNCOOKED version instead.
原因:沒有先構建client模式,也就是沒有執(zhí)行官方wiki步驟上的第5步
https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux)#5._Create_.3CMyGame.3EServer.Target.cs
構建完client之后,再添加文檔上面提到的
-
分享到:
全部評論:0條