Failed to get Display Refresh Rate Values
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- ar-vr-xr, mobile-dev
调研方向
首先,在 Android XR Extensions for Unity 0.9.0 集成中,通过 XRInstanceManagerApi 和 XrDisplayRefreshRate_getDisplayRefreshRateInfo 跟踪 DisplayRefreshRate Sample。将返回数组的处理方式与 xrEnumerateDisplayRefreshRatesFB 规范进行比较,并在具有不同刷新率能力的设备上进行验证。当 API 返回设备支持的值,而不是填充为零的固定大小结果时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
We tried running the DisplayRefreshRate Sample on different devices, but we found that we couldn’t retrieve the DisplayRefreshRate.
Currently, we suspect that unity_openxr_android requests a fixed number (size = 4) of DisplayRefreshRates. If the device's provided DisplayRefreshRate doesn’t match the expected format, it returns false.
However, according to the specification,
xrEnumerateDisplayRefreshRatesFB should return values based on the device's capacity.
This seems to be a bug in unity_openxr_android. Could you check if this issue will be fixed in a future update?
Unity Version: 6000.0.25f1
Android XR Extensions for Unity: 0.9.0
- We have confirmed that XRInstanceManagerApi is successfully registered.
- XrDisplayRefreshRate_getDisplayRefreshRateInfo returns a size 4 array with all values set to 0.
- 主要语言
- C#
- 星标
- 95
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
android/android-xr-unity-package 的其他 Issue
-
[Feature Request] Support XR_MSFT_first_person_observer for accurately aligned mixed reality capture未关闭
难度 5/5 一周以上 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 25/100
android/android-xr-unity-package#30 · 1 条评论 ·
-
难度 4/5 1-2 天 新手友好度 18/100
-
难度 3/5 1-2 天 新手友好度 52/100
android/android-xr-unity-package#28 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
查看 android/android-xr-unity-package 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
Facepunch/sbox-public#12456 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
mcneel/rhino.inside-revit#1736 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
reactiveui/Primitives#254 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
Kyrodan/KeeAnywhere#510 ·
-
area-Tools-ILLink untriaged
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复