“无法启动Oculus Xr插件”

发布于 2025-01-20 11:47:24 字数 104 浏览 0 评论 0原文

我最近将项目转移到了协作模式,当我尝试测试时,它说“无法启动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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

浪推晚风 2025-01-27 11:47:24

重新安装XR插件,然后构建游戏。

Reinstall xr plugin, and then build the game.

油焖大侠 2025-01-27 11:47:24
  1. Oculus官网也有说明。注意:要支持XR Interaction Toolkit(即VR功能),必须是2019.4或更高版本。理想情况下,选择具有长期支持 (LTS) 的版本。
  2. 最好是电脑上安装adb开发环境
    2:开始配置Unity环境
  3. 在导入素材之前打开Unity并转换为Android编辑环境,这样可以节省时间
  4. 将XR相关的Unity包添加到您的项目中
    在包管理器中,单击高级 >显示预览包。
    现在使用窗口右下角的“安装”按钮找到并安装这三个软件包:
    “XR交互工具包”包
    “XR插件管理”包
    “Oculus XR 插件”
    3:导入Oculus插件
  5. 在商店中搜索“Oculus”并将其导入Unity
  6. 导航栏中会出现Oculus菜单,点击-->PlatForm-->Edit Settings
    4:Unity连接Oculus耳机
    使用 USB 电缆将 Quest 设备连接到计算机。 (只要电脑有 USB 端口,附带的充电线就可以使用。)
    现在您的 Quest 已插入计算机,请查看 VR 耳机的内部情况。
    可能会(也可能不会)出现一个弹出窗口,询问您“允许 USB 调试”。如果是这样,请单击“确定”(使用 Oculus Quest 的控制器。)
    导航回“文件>构建设置”,然后在“运行设备”下查看您的设备是否被识别,如果没有则刷新。
    5:直接使用插件自带的Demo进行打包测试即可
    直接构建并运行,否则,您需要一个软件来安装适用于 Oculus 的第三方 APK
  1. The Oculus official website also has instructions. Note: To support the XR Interaction Toolkit (ie VR function), it must be version 2019.4 or later. Ideally, choose a version with Long Term Support (LTS).
  2. The best thing is to install an adb development environment on the computer
    2: Start configuring the Unity environment
  3. Open Unity and convert it to the Android editing environment before importing the material, which can save time
  4. Add XR related Unity packages to your project
    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
  5. Search for "Oculus" in the store and import it into Unity
  6. The Oculus menu will appear in the navigation bar, click -->PlatForm -->Edit Settings
    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
咋地 2025-01-27 11:47:24

在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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文