问题描述
网上下了个项目 在运行Unreal项目进行Debug模式进行调试时出现
Game files required to initialize the global shader library are missing from…
解决方案
1.DebugGame Editor
将调试模式设置为DebugGame Editor或者Debug Editor重新运行即可。
2.生成Cook后的资源
将调试模式设置为DebugGame Editor或者Debug Editor,在Editor中将资源进行Cook一次,或者打包一次(打包过程会进行cook)。
再切换成Debug模式运行即可。
原因分析
Debug模式直接运行游戏包,需要cook之后的资源,不能使用编辑器状态的资源,所以产生的问题。