UE4 服务端构建后启动错误的解决方法 - 纳金网
联系我们

给我们留言

联系我们

地址:福建省晋江市青阳街道洪山路国际工业设计园纳金网

邮箱:info@narkii.com

电话:0595-82682267

(周一到周五, 周六周日休息)

当前位置:主页 > 3D教程 > 图文教程

UE4 服务端构建后启动错误的解决方法

来源: 52vr | 责任编辑:传说的落叶 | 发布时间: 2019-06-11 08:25 | 浏览量:

构建独立服务端后启动报错:

[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.

 

[UE4]服务端构建后启动错误:GlobalShaderCache-PCD3D_SM5.bin is missing

 

原因:没有先构建client模式,也就是没有执行官方wiki步骤上的第5步

https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux)#5._Create_.3CMyGame.3EServer.Target.cs

构建完client之后,再添加文档上面提到的Server.Target.cs配置文件,然后重新生成VS工程文件(Generate Visual Studio project file),然后再选择需要的Server模式(development或者shipping等)构建server,然后再启动。


相关文章
网友评论

您需要登录后才可以发帖 登录 | 立即注册

关闭

全部评论:0条

推荐
热门