[SteamVR] Not Initialized (109)报错解决

[SteamVR] Not Initialized (109)

[SteamVR] Initialization failed. Please verify that you have SteamVR installed, your hmd is functioning, and OpenVR Loader is checked in the XR Plugin Management section of Project Settings.

VR设备:HTC VIVE COSMOS

VR插件:SteamVR Plugin 2.7.3

[SteamVR] Not Initialized (109)报错解决_第1张图片

 unity版本:2019.4.40f1

报错场景: 

每次关闭unity之后,再重新打开。运行项目,然后就报错。

解决办法:

重新打开unity引擎的Project Setting面板,然后关闭。报错解决。(unity菜单栏找到Editor->Project Settings,打开之后,点击叉号关闭面板)。因为我是用git做版本控制的,发现每次报错的时候ProjectSettings.asset这个文件中会有的oid会变动,所以想到和Project Settings有关。尝试了一下重新打开Project Settings面板可以解决。如果你是用git做版本控制的话,可以尝试复原ProjectSettings.asset这个文件来解决bug。亲测可行。

你可能感兴趣的:(UnityVR相关,vr)