[Unity][VR development problems] When Unity is running, it reports that it cannot start the XR Plugin.

Insert image description here

【Phenomenon】

There is no response when running Unity's VR project Link after connecting the Link. The Unity console reports: The XR Plugin cannot be started, and it is said that the Oculus helmet is not connected.

【analyze】

Open the Oculus PC client and find that the connection is normal. After restarting the machine, it prompts that Oculus has no RunTime.
Thinking of the client upgrade just now, it may be that some settings have been reset after the upgrade, causing the connection to not be recognized by Unity.

【solve】

According to the client prompts, go to the client's settings-"General-"OpenXR Runtime and set it to in use.

Guess you like

Origin blog.csdn.net/weixin_41697242/article/details/134172316