简体   繁体   English

虚幻引擎 4 中的“未找到引擎源代码”错误

[英]"Engine source code was not found" error in Unreal Engine 4

I'd wanted to create a C++ project in Unreal Engine 4 and this message appeared:我想在虚幻引擎 4 中创建一个 C++ 项目,出现以下消息:

Engine source code was not found.找不到引擎源代码。 In order to use a C++ template, you must have engine source code in Engine/Source.为了使用 C++ 模板,您必须在 Engine/Source 中有引擎源代码。

I think I've done all the possible things to solve the problem: I've reinstalled Unreal Engine, updated Visual Studio and even have installed Unreal Engine via source code from GitHub.我想我已经做了所有可能的事情来解决这个问题:我重新安装了虚幻引擎,更新了 Visual Studio,甚至通过 GitHub 的源代码安装了虚幻引擎。 I have no idea how to solve that.我不知道如何解决这个问题。

Faced the same error.面临同样的错误。 I solved the problem by renaming the file path to English.我通过将文件路径重命名为英文解决了这个问题。 (in my case, the Cyrillic alphabet is to blame) (在我的情况下,西里尔字母是罪魁祸首)

Maybe you have messed up with the Engine's file.也许你弄乱了引擎的文件。 The best way to fix this is try to reinstall Unreal Engine or maybe fix the installation.解决此问题的最佳方法是尝试重新安装虚幻引擎或修复安装。 Hope that helped!希望有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM