[UE4]The global shader cache file missing 运行错误解决办法
UE4项目在VS中对项目代码编译时报如错,找了好久在UE4论坛上查到了别人的解决方案,贴出来仅供大家参考。
看到一位开发者解释出错的原因如下:
There are a number of build configurations available to you, but it helps to think of them as two parts, a "State" and a "Target". In this case, your "State" is DebugGame. There are two "Targets" you could have, one that is blank, so the total build configuration is listed as "DebugGame", and one that is for opening in the editor, so the total build configuration is listed as "DebugGame Editor". The blank target is actually looking for cooked content, and so that probably explains the error message.
大致意思:有许多构建配置可用,它将它们分为两个部分,“状态”和“目标”。 在这种情况下,您的“状态”是DebugGame。 有两个“Targets”可以有,一个是空白的,所以总构建配置列为“DebugGame”,一个是在编辑器中打开,所以总构建配置为“DebugGame编辑器”。 空白目标实际上正在查找的是被编译过的内容,因此可能解释错误消息。
不是很懂希望哪位大神能热心指正一下,或更详细的解释一下。
之后看到一个开发者的解决方案:
I had this same error when building the engine from source (4.11) and launching the editor.
To solve when launching my C++ project from Visual Studio 2015, I built the following:
- Development Win64
- DebugGame Win64
- Development Editor Win64
And then Debug->Start without debugging with Development Editor Win64.
大致意思是
按下面三种解决方案配置重新构建生成一下:
- Development Win64
- DebugGame Win64
- Development Editor Win64
然后用
Development Editor Win64调试运行就OK了
试了下,确实我这边的问题解决了,因为即使同样的问题,大家遇到的情况也可能有细微差别,所以不保证一定能解决大家的问题,贴出来仅供大家参考一下。
顺便贴出 论坛上关于本问题的原址:https://forums.unrealengine.com/showthread.php?1993-GlobalShaderCache-PC3D_SM5-bin-is-missing
[UE4]The global shader cache file missing 运行错误解决办法的更多相关文章
- UI进阶 XML解析适配 'libxml/tree.h'file not found 错误解决办法
Xcode 'libxml/tree.h'file not found 错误解决办法
- CentOS——yum命令运行错误解决办法
问题: [root@name user]# yum File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ...
- jenkins运行错误解决办法
本地搭建好jenkis服务器,运行然后登陆上管理后台 构建好运行命令,然后进行构建出现如下错误说没有python运行环境 ,本地已经配置好python环境,并且终端能正常运行. 解决方法:jenkin ...
- UI进阶 XML解析适配 引入GDataXML文件时候 'libxml/tree.h'file not found 错误解决办法
在工程的"Build Settings"页中找到"Header Search Path"项,添加"/usr/include/libxml2" ...
- 关于Qt 报QDomDocument: No such file or directory错误解决办法
肯定是没有找到相关的路径,这时候只需要在.pro文件中加入便好了,比如我要用到读写xml的一些头文件,则需要在.pro中加入如下代码: 就可以正常引用了.
- 安卓(android)建立项目时失败,出现Android Manifest.xml file missing几种解决方法?(总结中)
安卓(android)建立项目时失败.出现AndroidManifest.xml file missing几种解决方法?(总结中) Eclipse新建项目.遇到这种问题.注意例如以下: 1.文件名称最 ...
- [转]tftp在put上传的时候显示File not found的解决办法
[转]tftp在put上传的时候显示File not found的解决办法 http://blog.163.com/pengcz%40126/blog/static/35908607201182433 ...
- 执行shell脚本时提示bad interpreter:No such file or directory的解决办法
执行shell脚本时提示bad interpreter:No such file or directory的解决办法 故障现象:在终端直接cd /var正常,在shell脚本中执行则报错.原因是脚本是 ...
- [转帖]Linux中buff/cache内存占用过高解决办法
Linux中buff/cache内存占用过高解决办法 https://www.cnblogs.com/rocky-AGE-24/p/7629500.html /proc/sys/vm/drop_cac ...
随机推荐
- LeetCode - Boundary of Binary Tree
Given a binary tree, return the values of its boundary in anti-clockwise direction starting from roo ...
- MySQL DataType--字符串类型
================================================= VARCHAR类型存储空间问题 当MySQL表使用ROW_FORMAT=FIXED时,对于定义VAR ...
- MySQL Disk--SSD和HDD的性能
========================================================= 机械硬盘的性能 7200转/分的STAT硬盘平均物理寻道时间是9ms 10000转/ ...
- src-d engine 强大的git 历史分析工具
src-d engine 包含了Babelfish ,同时可以看作是Babelfish 的升级版本,我们可以使用sql 进行代码分析 备注: 注意运行的时候需要容器支持 使用 安装docker 参 ...
- 求两个数的平均值,不能只用(a+b)/2的方法
#include<stdio.h> int avg1(int a, int b) { //利用移位操作符 //右移移位相当于——>除以2 :(a+b)>>1 //考虑到溢 ...
- C# 继承、虚方法、方法重载和多态
继承:继承属于单继承,只能继承一个父类. 继承的一个结果是派生于基类的子类在方法和属性上有一定的重叠. 继承只能够同时继承与一个基类:可以同时继承一个基类和多个接口,但是基类必须放在第一个.(注:C# ...
- HTTP请求回调IM系统LB,确保服务定向调用
1. 背景介绍 基于websocket的及时通信中,客户端与服务端建立ws连接后,服务端将业务继续传递到下一级业务服务系统Business server后,下一级服务系统处理完毕后,要将结果反馈给客户 ...
- mysql57免安装版配置
1,下载mysql5.7压缩文件[具体到官网下载就行了] 2,解压并把mysql5.7放到c盘根目录下 3,进入mysql5.7主目录修改my-default.ini 重命名为:my.ini [如果没 ...
- messageBox 的几种显示方式
1.最简单的,只显示提示信息 MessageBox.Show("Hello~~~~"); 2. 可以给消息框加上标题. MessageBox.Show("There ar ...
- delphi Int64Rec 应用实例
以下代码可以看到 Int64Rec <--> Int64 procedure TForm1.Button2Click(Sender: TObject); var ii1,ii2,ii3:I ...