UE5打包出现ERROR: Client target not found

发布时间 2023-12-19 11:08:22作者: ViKyanite

由于需要测试Client连接DS来测试联机同步逻辑,所以需要打个Client的包出来,但是在我设置好Client的打包设置然后运行时,出现了ERROR: Client target not found

最后找UE官方论坛下的一个帖子:

https://forums.unrealengine.com/t/unrealfrontend-client-target-not-found/103129

原来是忘记加Client.Target.cs文件了....

你只需要复制你的项目文件下的/Source/XXXEditor.Target.cs文件,然后改名为XXXClient.Target.cs,然后右键编辑,把文本中出现Editor的地方都替换成Client即可。