黑屏统一AR基金会 - 相机不起作用

发布于 2025-01-22 04:41:51 字数 85 浏览 4 评论 0原文

无法将相机用于AR Unity应用程序。

在iOS设备上启动应用程序时,屏幕是完全黑色的。

我正在运行Unity版本2021.3

Cannot use the camera for an AR Unity App.

When launching the app on an iOS device, the screen is totally black.

I'm running Unity version 2021.3

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(5

猫烠⑼条掵仅有一顆心 2025-01-29 04:41:51

可能的解决方案之一可能是:

  • 转到edit>项目设置> XR插件管理

  • 选择androidios

  • 分别启用arcorearkit

确保您已经从Unity Hub App中安装了AR软件包(在Unity版本2021.3上测试)

更多信息: https://forum.unity.com/threads/threads/black-screen -unity-ar-ar-Camera-not-working.905972/

One of the possible solutions could be:

  • Go to Edit > Project Settings > XR Plug-in Management

  • Choose Android or iOS

  • Enable respectively ARCore or ARKit

Be sure that you have already installed AR packages from the Unity Hub app (tested on Unity version 2021.3)

More info here: https://forum.unity.com/threads/black-screen-unity-ar-camera-not-working.905972/

琉璃梦幻 2025-01-29 04:41:51

我正在与Unity 2021.3.1f1面对黑屏
尽我所能;包括以上。
黑屏...

AR软件包4.2.2
XR相互作用2.01
XR管理4.2.1

I am stilling facing the black screen with Unity 2021.3.1f1
Done everything I can; including above.
Black screen...

AR Packages 4.2.2
XR Interaction 2.01
XR Management 4.2.1

月隐月明月朦胧 2025-01-29 04:41:51

我遵循了本指南的指导,但我只使用 2021.3.1f1 以及下面列出的软件包。

? fzgjh.png“ rel =“ nofollow noreferrer”>

灵芸 2025-01-29 04:41:51

我通过找到渲染脚本并在Inspector中添加“ AR背景渲染功能”来修复我的矿井。
我使用了带有Unity 2022的3D URP模板。
这是我的第一篇文章,所以让我知道我是否缺少细节。

找到渲染文件
单击AR背景渲染功能

I fixed mine by finding the rendering scripts and adding the "AR Background Render Feature" in inspector.
I used the 3D URP Template with Unity 2022.
This is my first post so let me know if I'm missing details.

Locate Render Files
Click AR Background render features

不回头走下去 2025-01-29 04:41:51

在Unity中转到您的项目文件夹>设置> URP平衡渲染器。在“检查器”单击“添加渲染器”功能>设置AR背景渲染器功能。

与urp-highfidelity-Renderer一起做同样的事情

In Unity go to your project folder > Settings > URP-Balanced-Renderer. In the inspector click add renderer feature > set Ar Background Renderer Feature.

Do the same with URP-HighFidelity-Renderer

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