Skip to content

Failed to get Display Refresh Rate Values #2

Open
@JRChen-Dev

Description

@JRChen-Dev

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

  1. We have confirmed that XRInstanceManagerApi is successfully registered.
  2. XrDisplayRefreshRate_getDisplayRefreshRateInfo returns a size 4 array with all values set to 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions