关于项目的导出问题。
有几种方法,1.在项目设置中勾选start in VR
2.或者可以在导出的项目中的exe,文件后面加上-vr。
https://api.unrealengine.com/CHN/Engine/Editor/VR/ActivateVRMode/index.html
Description
Add a new Project Setting to attempt to launch project in VR by default (e.g. check this setting OR -vr in the UEngine::InitializeHMDDevices() function
Steps to Reproduce
Under Project Settings > Description, there's a "Start in VR" option. Check that, and the game should always attempt to start in VR if a device is available.
在导出的时候一直遇到cook的错误,删除掉saved 和几个.target文件可以解决。