简书链接:Gamefilesrequiredtoinitializetheglobalshaderlibraryaremissin
文章字数:460,阅读全文大约需要1分钟
解决方法 切换成debug game editor而非debuggame
或者
打开defaultengine.ini修改配置

1
2
3
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX11

image.png

image.png

https://forums.unrealengine.com/t/i-cant-launch-ue5-its-my-first-time-trying-to-use-it/840020/4
在启动器里面验证,会进行自动下载修复,不过还是没啥用。
image.png

最后
删除E:\EPICGame\UE_5.2\Engine\Intermediate

重新清除为 editor的解决方案并编译,然后运行,发现ok了。

2023-8-1 15:22:35
如果在非editor模式下出现这个问题,需要先进行cook内容,可以尝试在editor模式下进行打包,会自动cook.
同时会启动一个进程
image.png
再次打开发现不出现上面错误了,但是出现了另外一个错误,再次杀死打开,再次操作,发现 ue能显示了
“UnrealTraceServer.exe”
image.png