“无法启动Oculus Xr插件”
我最近将项目转移到了协作模式,当我尝试测试时,它说“无法启动Oculus XR插件”。我确保安装了Oculus运行时,我确保插件是最新的,我不知道问题可能是什么!这是我在控制台中遇到的唯一错误。
I recently transferred my project over to a collaboration mode and it says “Unable To Start Oculus XR Plugin” when I try to test it. I made sure Oculus runtime was installed, I made sure the plug-in was up to date, I don’t know what else the issue could be! It is the only error i am getting in console.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
重新安装XR插件,然后构建游戏。
Reinstall xr plugin, and then build the game.
2:开始配置Unity环境
在包管理器中,单击高级 >显示预览包。
现在使用窗口右下角的“安装”按钮找到并安装这三个软件包:
“XR交互工具包”包
“XR插件管理”包
“Oculus XR 插件”
3:导入Oculus插件
4:Unity连接Oculus耳机
使用 USB 电缆将 Quest 设备连接到计算机。 (只要电脑有 USB 端口,附带的充电线就可以使用。)
现在您的 Quest 已插入计算机,请查看 VR 耳机的内部情况。
可能会(也可能不会)出现一个弹出窗口,询问您“允许 USB 调试”。如果是这样,请单击“确定”(使用 Oculus Quest 的控制器。)
导航回“文件>构建设置”,然后在“运行设备”下查看您的设备是否被识别,如果没有则刷新。
5:直接使用插件自带的Demo进行打包测试即可
直接构建并运行,否则,您需要一个软件来安装适用于 Oculus 的第三方 APK
2: Start configuring the Unity environment
In the package manager, click Advanced > Show Preview Packages.
Now find and install these three packages using the "Install" button in the lower right corner of the window:
"XR Interaction Toolkit" package
"XR Plugin Management" package
"Oculus XR Plugin"
3: Import the Oculus plugin
4: Unity connects to the Oculus headset
Connect the Quest device to the computer using a USB cable. (As long as the computer has a USB port, the included charging cable will work.)
Now that your Quest is plugged into your computer, take a look inside your VR headset.
A popup may (or may not) appear asking you to "Allow USB Debugging". If so, click OK (Use the Oculus Quest's controllers.)
Navigate back to "File>BuildSetting", then under "Running Device" to see if your device is recognized, refresh if not.
5: Just use the Demo that comes with the plugin to package and test it
Build And Run directly, otherwise, you need a software to install a third-party APK for Oculus
在Unity中,转到编辑 - >项目设置 - > XR插件管理
在“插件”提供商部分中的选中Oculus选项。
在此处输入图像描述
in Unity, go to Edit -> Project Setting - > XR Plug-in Management
in the plug in providers section check in Oculus option.
enter image description here