Visual Studio 不认识 Unreal Engine
Visual Studio doesn't recognize Unreal Engine
我是视频游戏开发专业的学生,刚开始研究虚幻引擎。
不,我的 none 老师对此一无所知。
我已经安装了 Unreal Engine 4.13 和 Visual Studio Community 2013 now 2015.
我正在尝试使用 Unreal Engine 创建一个 C++ 项目(使用蓝图是不可能的,所以 this 没有帮助)
现在,当我创建一个基本的 C++ 项目时,Visual Studio 显示以下错误消息:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- UE4, "C:\Users\Gebruiker\MEGA\Unreal\Disposable\Intermediate\ProjectFiles\UE4.vcxproj"
- Disposable, "C:\Users\Gebruiker\MEGA\Unreal\Disposable\Intermediate\ProjectFiles\Disposable.vcxproj"
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- Engine, "Engine"
- Games, "Games"
- Disposable, "C:\Users\Gebruiker\MEGA\Unreal\Disposable\Disposable.sln"
然后我的浏览器打开,显示一份迁移报告,告诉我 VS 在 Project.vcxproj 和 UE4.vcxproj 方面有错误,尽管它处理引擎、游戏和 Project.sln。
在这个 VS 确实出现后没有任何进一步的操作,它会自动打开 *.h 和 *.cpp 文件用于新添加的 类 in UE4.
虽然它确实编辑并保存了这些,但它声称所有 UE 的代码都是错误的(带有波浪线),并且在编译 UE4 时会在代码片段上出现错误,而在其他机器上显然不会出现错误。
如果能得到帮助,我将不胜感激,我相信这也会对遇到同样问题的其他人有所帮助。
编辑
A screenshot of the problem and configuration
编辑 2
A screenshot of the Help -> About Visual Studio page, VS 2015 C++ highlighted
安装更新版本的 Visual Studio。 VS2013 不是最新的,VS2015 是。 People report 即使将 VS2013 从 Update 2 更新到 Update 4 也有助于解决类似问题。
从 Unreal Engine 编辑器和 Visual Studio 关闭开始,右键单击您的 .uproject 文件和 select Generate Visual Studio project files
,然后从 visual studio 启动.sln 文件。
打开 Visual Studio 后,检查您的解决方案配置是否设置为开发编辑器。然后转到 Debug > Start without Debugging
(或 Ctrl-F5)。如果一切都编译成功并且编辑器再次打开,那么你就可以开始了。
我卸载了 VS2013,安装了 VS2015 并检查了所有附加选项,在我的电脑上用虚幻引擎创建了一个空白的新项目,只有 VS2015,现在一切正常。
也许我的 VS2013 安装已损坏、已弃用或切换版本不是一个好主意,但我现在可以在任何情况下使用 VS。
也感谢jeevcat提到它!
我是视频游戏开发专业的学生,刚开始研究虚幻引擎。
不,我的 none 老师对此一无所知。
我已经安装了 Unreal Engine 4.13 和 Visual Studio Community 2013 now 2015.
我正在尝试使用 Unreal Engine 创建一个 C++ 项目(使用蓝图是不可能的,所以 this 没有帮助)
现在,当我创建一个基本的 C++ 项目时,Visual Studio 显示以下错误消息:
Unsupported This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK. - UE4, "C:\Users\Gebruiker\MEGA\Unreal\Disposable\Intermediate\ProjectFiles\UE4.vcxproj" - Disposable, "C:\Users\Gebruiker\MEGA\Unreal\Disposable\Intermediate\ProjectFiles\Disposable.vcxproj"
No changes required These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them. - Engine, "Engine" - Games, "Games" - Disposable, "C:\Users\Gebruiker\MEGA\Unreal\Disposable\Disposable.sln"
然后我的浏览器打开,显示一份迁移报告,告诉我 VS 在 Project.vcxproj 和 UE4.vcxproj 方面有错误,尽管它处理引擎、游戏和 Project.sln。
在这个 VS 确实出现后没有任何进一步的操作,它会自动打开 *.h 和 *.cpp 文件用于新添加的 类 in UE4.
虽然它确实编辑并保存了这些,但它声称所有 UE 的代码都是错误的(带有波浪线),并且在编译 UE4 时会在代码片段上出现错误,而在其他机器上显然不会出现错误。
如果能得到帮助,我将不胜感激,我相信这也会对遇到同样问题的其他人有所帮助。
编辑 A screenshot of the problem and configuration
编辑 2 A screenshot of the Help -> About Visual Studio page, VS 2015 C++ highlighted
安装更新版本的 Visual Studio。 VS2013 不是最新的,VS2015 是。 People report 即使将 VS2013 从 Update 2 更新到 Update 4 也有助于解决类似问题。
从 Unreal Engine 编辑器和 Visual Studio 关闭开始,右键单击您的 .uproject 文件和 select Generate Visual Studio project files
,然后从 visual studio 启动.sln 文件。
打开 Visual Studio 后,检查您的解决方案配置是否设置为开发编辑器。然后转到 Debug > Start without Debugging
(或 Ctrl-F5)。如果一切都编译成功并且编辑器再次打开,那么你就可以开始了。
我卸载了 VS2013,安装了 VS2015 并检查了所有附加选项,在我的电脑上用虚幻引擎创建了一个空白的新项目,只有 VS2015,现在一切正常。
也许我的 VS2013 安装已损坏、已弃用或切换版本不是一个好主意,但我现在可以在任何情况下使用 VS。
也感谢jeevcat提到它!